GOB: fix a crash when returning to launcher from Adibou2

This commit is contained in:
Simon Delamarre 2022-10-30 23:13:45 +01:00 committed by Eugene Sandulenko
parent dd0748fa66
commit 0e5953ad67
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -1211,7 +1211,7 @@ SaveLoad_v7::SaveLoad_v7(GobEngine *vm, const char *targetName) :
_saveFiles[index++].handler = _childrenHandler = new FakeFileHandler(_vm);
for (int i = 0; i < 4; ++i) {
_saveFiles[index++].handler = _debilHandler[0] = new FakeFileHandler(_vm);
_saveFiles[index++].handler = _debilHandler[i] = new FakeFileHandler(_vm);
}
_saveFiles[index++].handler = _configHandler = new GameFileHandler(_vm, targetName, "cfg");