aboutsummaryrefslogtreecommitdiff
path: root/engines/touche/saveload.cpp
diff options
context:
space:
mode:
authorChristopher Page2008-07-13 22:24:55 +0000
committerChristopher Page2008-07-13 22:24:55 +0000
commitc210f90a624549b905dce50be261cf54a3407ae5 (patch)
tree952689f766072c88d82cff8601d8d1843a185fee /engines/touche/saveload.cpp
parent0175425109624a6dfc87bcfa1f26abfed839a1e3 (diff)
downloadscummvm-rg350-c210f90a624549b905dce50be261cf54a3407ae5.tar.gz
scummvm-rg350-c210f90a624549b905dce50be261cf54a3407ae5.tar.bz2
scummvm-rg350-c210f90a624549b905dce50be261cf54a3407ae5.zip
TOUCHE works with the new GMM implementation
svn-id: r33046
Diffstat (limited to 'engines/touche/saveload.cpp')
-rw-r--r--engines/touche/saveload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/touche/saveload.cpp b/engines/touche/saveload.cpp
index 386b043654..0fa09d5b7a 100644
--- a/engines/touche/saveload.cpp
+++ b/engines/touche/saveload.cpp
@@ -295,7 +295,7 @@ void ToucheEngine::loadGameStateData(Common::ReadStream *stream) {
if (stream->readUint32LE() != saveLoadEndMarker) {
warning("Corrupted gamestate data");
// if that ever happens, exit the game
- _quit = 1;
+ quitGame();
}
_flagsTable[614] = roomOffsX;
_flagsTable[615] = roomOffsY;