Fixing a bug in the V4 save file handler, produced by a "neat" feature in Woodruff: The saves remember their position within the list and use that information to load the "correct" screen properties, making it impossible to load reordered saves correctly -.-
svn-id: r42679
This commit is contained in:
parent
33929b5248
commit
01b8320367
2 changed files with 22 additions and 2 deletions
|
@ -289,6 +289,8 @@ protected:
|
|||
GameHandler(GobEngine *vm, const char *target);
|
||||
~GameHandler();
|
||||
|
||||
int getLastSlot() const;
|
||||
|
||||
int32 getSize();
|
||||
bool load(int16 dataVar, int32 size, int32 offset);
|
||||
bool save(int16 dataVar, int32 size, int32 offset);
|
||||
|
@ -317,6 +319,8 @@ protected:
|
|||
|
||||
File *_slotFile;
|
||||
|
||||
int _lastSlot;
|
||||
|
||||
SaveReader *_reader;
|
||||
SaveWriter *_writer;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue