diff options
author | Nicola Mettifogo | 2007-04-07 09:31:24 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-04-07 09:31:24 +0000 |
commit | 93673711073bbf6947e83ca3ec9cd262036aa64a (patch) | |
tree | 9a27428dd46207725bee78af40fd1f32f33f3599 /engines/parallaction/saveload.cpp | |
parent | 83610641c7f866e218cf562b2abeb94619bc229a (diff) | |
download | scummvm-rg350-93673711073bbf6947e83ca3ec9cd262036aa64a.tar.gz scummvm-rg350-93673711073bbf6947e83ca3ec9cd262036aa64a.tar.bz2 scummvm-rg350-93673711073bbf6947e83ca3ec9cd262036aa64a.zip |
Turned free___() routines into proper destructors for Zone, Animation and Program, and added memo comments for porting the engine to Common::List<>.
svn-id: r26399
Diffstat (limited to 'engines/parallaction/saveload.cpp')
-rw-r--r-- | engines/parallaction/saveload.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/parallaction/saveload.cpp b/engines/parallaction/saveload.cpp index 13a75bf4a2..a518e76a24 100644 --- a/engines/parallaction/saveload.cpp +++ b/engines/parallaction/saveload.cpp @@ -81,10 +81,14 @@ void Parallaction::doLoadGame(uint16 slot) { f->readLine(s, 15); + // TODO (LIST): the very same code can be found in _c_finito(). + // Why aren't we clearing Animations too, anyway? _engineFlags |= kEngineQuit; + freeZones(_zones._next); freeNodeList(_zones._next); _zones._next = NULL; + _engineFlags &= ~kEngineQuit; _numLocations = atoi(s); |