aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/saveload.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2008-11-08 14:56:45 +0000
committerNicola Mettifogo2008-11-08 14:56:45 +0000
commit55810309725b02b26ab17ddc02cbba2361977a2b (patch)
treee976a14d71ab1e5e8308c4c13c3a2095b1126ab5 /engines/parallaction/saveload.cpp
parent767485840f8259c8441b2879eec5cb327c79e049 (diff)
downloadscummvm-rg350-55810309725b02b26ab17ddc02cbba2361977a2b.tar.gz
scummvm-rg350-55810309725b02b26ab17ddc02cbba2361977a2b.tar.bz2
scummvm-rg350-55810309725b02b26ab17ddc02cbba2361977a2b.zip
* removed the obsolete _quit flag
* refactored most cleanup code for locations and game svn-id: r34939
Diffstat (limited to 'engines/parallaction/saveload.cpp')
-rw-r--r--engines/parallaction/saveload.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/engines/parallaction/saveload.cpp b/engines/parallaction/saveload.cpp
index 8093d4f234..033d502478 100644
--- a/engines/parallaction/saveload.cpp
+++ b/engines/parallaction/saveload.cpp
@@ -134,15 +134,6 @@ void SaveLoad_ns::doLoadGame(uint16 slot) {
f->readLine_OLD(s, 15);
- // 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 _quit set, because the
- // call in changeLocation preserve certain zones.
- _vm->_quit = true;
- _vm->freeZones();
- _vm->_quit = false;
-
_vm->_numLocations = atoi(s);
uint16 _si;