diff options
author | Sven Hesse | 2009-08-14 15:22:43 +0000 |
---|---|---|
committer | Sven Hesse | 2009-08-14 15:22:43 +0000 |
commit | 5e90ce35365b5496fccd533bcd7a281ff68ce8ea (patch) | |
tree | 65e948c73030482761e4e46c1116342cb0de68a1 /engines/gob | |
parent | 0064a1bc37aac75fc4c923b622b1b81706ff6f92 (diff) | |
download | scummvm-rg350-5e90ce35365b5496fccd533bcd7a281ff68ce8ea.tar.gz scummvm-rg350-5e90ce35365b5496fccd533bcd7a281ff68ce8ea.tar.bz2 scummvm-rg350-5e90ce35365b5496fccd533bcd7a281ff68ce8ea.zip |
Setting gob3 save/load mode of the temporary sprite "intro.$$$" to ignore and remove the TempSpriteHandler.
Gob3 doesn't use it at all and Lost in Time only saves (with an invalid index) and never loads
svn-id: r43366
Diffstat (limited to 'engines/gob')
-rw-r--r-- | engines/gob/save/saveload.h | 1 | ||||
-rw-r--r-- | engines/gob/save/saveload_v3.cpp | 7 |
2 files changed, 2 insertions, 6 deletions
diff --git a/engines/gob/save/saveload.h b/engines/gob/save/saveload.h index 66cc34827e..4779de703c 100644 --- a/engines/gob/save/saveload.h +++ b/engines/gob/save/saveload.h @@ -251,7 +251,6 @@ protected: GameHandler *_gameHandler; NotesHandler *_notesHandler; - TempSpriteHandler *_tempSpriteHandler; ScreenshotHandler *_screenshotHandler; SaveHandler *getHandler(const char *fileName) const; diff --git a/engines/gob/save/saveload_v3.cpp b/engines/gob/save/saveload_v3.cpp index 58232e6991..c24b13d27b 100644 --- a/engines/gob/save/saveload_v3.cpp +++ b/engines/gob/save/saveload_v3.cpp @@ -33,8 +33,8 @@ namespace Gob { SaveLoad_v3::SaveFile SaveLoad_v3::_saveFiles[] = { { "cat.inf", kSaveModeSave , 0, "savegame"}, { "ima.inf", kSaveModeSave , 0, "screenshot"}, - { "intro.$$$", kSaveModeSave , 0, "temporary sprite"}, { "bloc.inf", kSaveModeSave , 0, "notes"}, + { "intro.$$$", kSaveModeIgnore, 0, "temporary sprite"}, { "prot", kSaveModeIgnore, 0, 0}, { "config", kSaveModeIgnore, 0, 0} }; @@ -496,20 +496,17 @@ SaveLoad_v3::SaveLoad_v3(GobEngine *vm, const char *targetName, ScreenshotType s _screenshotHandler = new ScreenshotHandler(vm, _gameHandler, sShotType); } - _tempSpriteHandler = new TempSpriteHandler(vm); _notesHandler = new NotesHandler(2560, vm, targetName); _saveFiles[0].handler = _gameHandler; _saveFiles[1].handler = _screenshotHandler; - _saveFiles[2].handler = _tempSpriteHandler; - _saveFiles[3].handler = _notesHandler; + _saveFiles[2].handler = _notesHandler; } SaveLoad_v3::~SaveLoad_v3() { delete _screenshotHandler; delete _gameHandler; delete _notesHandler; - delete _tempSpriteHandler; } const SaveLoad_v3::SaveFile *SaveLoad_v3::getSaveFile(const char *fileName) const { |