PINK: Set engine playtime to playtime in saved game
Before the playtime was starting over when ScummVM was closed and reopened instead of starting off with the playtime in the saved game.
This commit is contained in:
parent
9d88afe6bf
commit
45137f34df
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ Common::Error PinkEngine::loadGameState(int slot) {
|
|||
_nextModule = archive.readString();
|
||||
_nextPage = archive.readString();
|
||||
initModule(archive.readString(), "", &archive);
|
||||
setTotalPlayTime(desc.getPlayTimeMSecs());
|
||||
|
||||
delete in;
|
||||
return Common::kNoError;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue