diff options
Diffstat (limited to 'engines/gob')
-rw-r--r-- | engines/gob/save/saveload.h | 2 | ||||
-rw-r--r-- | engines/gob/save/saveload_v7.cpp | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/engines/gob/save/saveload.h b/engines/gob/save/saveload.h index 948d76b4f9..73ca140571 100644 --- a/engines/gob/save/saveload.h +++ b/engines/gob/save/saveload.h @@ -839,7 +839,7 @@ protected: FakeFileHandler *_childrenHandler; FakeFileHandler *_debilHandler; FakeFileHandler *_configHandler; - FakeFileHandler *_addy4GrundschuleHandler[10]; + FakeFileHandler *_addy4GrundschuleHandler[11]; SaveHandler *getHandler(const char *fileName) const; const char *getDescription(const char *fileName) const; diff --git a/engines/gob/save/saveload_v7.cpp b/engines/gob/save/saveload_v7.cpp index e9964a6b1e..7cb7e4ca22 100644 --- a/engines/gob/save/saveload_v7.cpp +++ b/engines/gob/save/saveload_v7.cpp @@ -61,7 +61,8 @@ SaveLoad_v7::SaveFile SaveLoad_v7::_saveFiles[] = { { "perso.dep", kSaveModeSave, 0, 0 }, { "nouveau.dep", kSaveModeSave, 0, 0 }, { "adi.tmp", kSaveModeSave, 0, 0 }, - { "adi.inf", kSaveModeSave, 0, 0 } + { "adi.inf", kSaveModeSave, 0, 0 }, + { "adi4.tmp", kSaveModeSave, 0, 0 } }; @@ -75,12 +76,12 @@ SaveLoad_v7::SaveLoad_v7(GobEngine *vm, const char *targetName) : _saveFiles[17].handler = _debilHandler = new FakeFileHandler(_vm); _saveFiles[18].handler = _configHandler = new FakeFileHandler(_vm); - for (int i = 0; i < 10; i++) + for (int i = 0; i < 11; i++) _saveFiles[19 + i].handler = _addy4GrundschuleHandler[i] = new FakeFileHandler(_vm); } SaveLoad_v7::~SaveLoad_v7() { - for (int i = 0; i < 10; i++) + for (int i = 0; i < 11; i++) delete _addy4GrundschuleHandler[i]; delete _configHandler; |