Parallaction now uses the new _quit flag

svn-id: r32773
This commit is contained in:
Christopher Page 2008-06-25 01:41:40 +00:00
parent 6e3474896c
commit e37b0745d3
9 changed files with 33 additions and 32 deletions

View file

@ -132,11 +132,13 @@ void Parallaction_ns::doLoadGame(uint16 slot) {
// TODO (LIST): unify (and parametrize) calls to freeZones.
// We aren't calling freeAnimations because it is not needed, since
// kChangeLocation will trigger a complete deletion. Anyway, we still
// need to invoke freeZones here with kEngineQuit set, because the
// need to invoke freeZones here with _quit set, because the
// call in changeLocation preserve certain zones.
_engineFlags |= kEngineQuit;
_quit = true;
freeZones();
_engineFlags &= ~kEngineQuit;
_quit = false;
_numLocations = atoi(s);