Fix several crucial bits of data not being loaded
- Creature save data - Outdoor wandering encounters - Fix crash when entering outdoor combat after loading - Stop using char types in cItemRec - Move all pending attributes from cMonster to cCreature
This commit is contained in:
@@ -136,6 +136,11 @@ bool cCurTown::prep_talk(short which) {
|
||||
}
|
||||
}
|
||||
|
||||
void cCurTown::prep_arena() {
|
||||
if(loaded()) delete record;
|
||||
record = new cMedTown();
|
||||
}
|
||||
|
||||
cCurTown::~cCurTown() {
|
||||
if(talkNeedsDeleting && curTalk != NULL) delete curTalk;
|
||||
}
|
||||
|
Reference in New Issue
Block a user