Fix bug #2970141 - NIPPON: Crash at end of the game (regression). By reverting part of the changes to Parallaction_ns::cleanupGame() in revision 34939.

svn-id: r48480
This commit is contained in:
Travis Howell 2010-04-03 04:48:20 +00:00
parent 0d83045b5f
commit 397553cc56
2 changed files with 2 additions and 2 deletions

View File

@ -173,7 +173,6 @@ struct Location {
protected:
int _gameType;
void freeZones(bool removeAll);
bool keepZone_br(ZonePtr z);
bool keepZone_ns(ZonePtr z);
@ -191,6 +190,7 @@ public:
ZonePtr findZone(const char *name);
void cleanup(bool removeAll);
void freeZones(bool removeAll);
int getScale(int z) const;
};

View File

@ -515,7 +515,7 @@ void Parallaction_ns::cleanupGame() {
memset(_localFlags, 0, sizeof(_localFlags));
memset(_locationNames, 0, sizeof(_locationNames));
freeLocation(true);
_location.freeZones(true);
_score = 0;
_freeSarcophagusSlotX = INITIAL_FREE_SARCOPHAGUS_SLOT_X;