SCI: changing how savegame ids are handled internally. Using range 0-999 so that scripts are able to signal us to create new slots, using range 1000-1999 for official slots. fixes lsl6 quicksave overwriting wrong save slots
svn-id: r50831
This commit is contained in:
parent
8d7bc0eab5
commit
6ff4dd2d91
4 changed files with 178 additions and 128 deletions
|
@ -107,6 +107,9 @@ void EngineState::reset(bool isRestoring) {
|
|||
_throttleLastTime = 0;
|
||||
_throttleTrigger = false;
|
||||
|
||||
_lastSaveVirtualId = SAVEGAMEID_OFFICIALRANGE_START;
|
||||
_lastSaveNewId = 0;
|
||||
|
||||
scriptStepCounter = 0;
|
||||
scriptGCInterval = GC_INTERVAL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue