aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/saveload.cpp
diff options
context:
space:
mode:
authorChristopher Page2008-06-25 01:41:40 +0000
committerChristopher Page2008-06-25 01:41:40 +0000
commite37b0745d362945a017d71e420284021667132f5 (patch)
tree9f505e72c0ec6830ca7dd6aeac3df515cd386dbc /engines/parallaction/saveload.cpp
parent6e3474896cec0e42c2f5ac7ccb5783981d746fcc (diff)
downloadscummvm-rg350-e37b0745d362945a017d71e420284021667132f5.tar.gz
scummvm-rg350-e37b0745d362945a017d71e420284021667132f5.tar.bz2
scummvm-rg350-e37b0745d362945a017d71e420284021667132f5.zip
Parallaction now uses the new _quit flag
svn-id: r32773
Diffstat (limited to 'engines/parallaction/saveload.cpp')
-rw-r--r--engines/parallaction/saveload.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/parallaction/saveload.cpp b/engines/parallaction/saveload.cpp
index 002295315d..86700d6bb1 100644
--- a/engines/parallaction/saveload.cpp
+++ b/engines/parallaction/saveload.cpp
@@ -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);