mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-06 02:10:28 +00:00
Correct time events duration, when saving in Elvira 1.
svn-id: r31516
This commit is contained in:
parent
888eb26f8b
commit
af4b21a112
@ -1069,7 +1069,7 @@ bool AGOSEngine::saveGame(uint slot, const char *caption) {
|
||||
Common::OutSaveFile *f;
|
||||
uint item_index, num_item, i;
|
||||
TimeEvent *te;
|
||||
uint32 curTime = 0;
|
||||
uint32 curTime = getTime();
|
||||
uint32 gsc = _gameStoppedClock;
|
||||
|
||||
_lockWord |= 0x100;
|
||||
@ -1084,7 +1084,7 @@ bool AGOSEngine::saveGame(uint slot, const char *caption) {
|
||||
|
||||
f->writeUint32BE(_itemArrayInited - 1);
|
||||
f->writeUint32BE(0xFFFFFFFF);
|
||||
f->writeUint32BE(0);
|
||||
f->writeUint32BE(curTime);
|
||||
f->writeUint32BE(0);
|
||||
|
||||
i = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user