Fix time events continuing, when using the oracle in FF
svn-id: r22003
This commit is contained in:
parent
ab48280f73
commit
506cdd9054
3 changed files with 12 additions and 8 deletions
|
@ -327,7 +327,7 @@ restart:;
|
|||
get_out:;
|
||||
unk_132_helper_3();
|
||||
|
||||
_base_time = time(NULL) - save_time + _base_time;
|
||||
_gameStoppedClock = time(NULL) - save_time + _gameStoppedClock;
|
||||
_copyPartialMode = 0;
|
||||
|
||||
restoreBlock(94, 208, 46, 80);
|
||||
|
@ -507,7 +507,7 @@ bool SimonEngine::saveGame(uint slot, char *caption) {
|
|||
f->writeUint32BE(i);
|
||||
|
||||
for (te = _firstTimeStruct; te; te = te->next) {
|
||||
f->writeUint32BE(te->time + _base_time);
|
||||
f->writeUint32BE(te->time + _gameStoppedClock);
|
||||
f->writeUint16BE(te->subroutine_id);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue