diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agi/saveload.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/agi/saveload.cpp b/engines/agi/saveload.cpp index a3c3f0a035..375184877a 100644 --- a/engines/agi/saveload.cpp +++ b/engines/agi/saveload.cpp @@ -297,6 +297,8 @@ int AgiEngine::loadGame(const char *fileName, bool checkId) { return errBadFileOpen; } + strncpy(_game.id, loadId, 8); + for (i = 0; i < MAX_FLAGS; i++) _game.flags[i] = in->readByte(); for (i = 0; i < MAX_VARS; i++) |