diff options
Diffstat (limited to 'engines/touche/saveload.cpp')
| -rw-r--r-- | engines/touche/saveload.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/touche/saveload.cpp b/engines/touche/saveload.cpp index fedd40eb76..4fcf6e114d 100644 --- a/engines/touche/saveload.cpp +++ b/engines/touche/saveload.cpp @@ -31,6 +31,11 @@ namespace Touche { +enum { + kCurrentGameStateVersion = 6, + kGameStateDescriptionLen = 32 +}; + static void saveOrLoad(Common::WriteStream &stream, uint16 &i) { stream.writeUint16LE(i); } @@ -287,7 +292,7 @@ void ToucheEngine::loadGameStateData(Common::ReadStream *stream) { if (stream->readUint32LE() != saveLoadEndMarker) { warning("Corrupted gamestate data"); // if that ever happens, exit the game - quitGame(); + _flagsTable[611] = 1; } _flagsTable[614] = roomOffsX; _flagsTable[615] = roomOffsY; |
