diff options
author | Walter van Niftrik | 2016-09-16 16:46:30 +0200 |
---|---|---|
committer | Walter van Niftrik | 2016-09-16 17:04:28 +0200 |
commit | 866f7cbf62b2946b589ee2e441172e3c31454b71 (patch) | |
tree | 6d4c5f9833ae4e7da8583a258879fd020b003c0e | |
parent | 952abc32433568d0f896eb787ad30236e4a35bbb (diff) | |
download | scummvm-rg350-866f7cbf62b2946b589ee2e441172e3c31454b71.tar.gz scummvm-rg350-866f7cbf62b2946b589ee2e441172e3c31454b71.tar.bz2 scummvm-rg350-866f7cbf62b2946b589ee2e441172e3c31454b71.zip |
ADL: Fix curPicture OB1 bug when restoring
This is a regression introduced in df838f5. Fixes #9560.
-rw-r--r-- | engines/adl/adl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/adl/adl.cpp b/engines/adl/adl.cpp index 9afb2c6700..62f07ad639 100644 --- a/engines/adl/adl.cpp +++ b/engines/adl/adl.cpp @@ -673,7 +673,7 @@ Common::Error AdlEngine::loadGameState(int slot) { // NOTE: _state.curPicture is part of the save state in the original engine. We // reconstruct it instead. This is believed to be safe for at least hires 0-2, but // this may need to be re-evaluated for later games. - _state.curPicture = _state.rooms[_state.room].curPicture; + _state.curPicture = getCurRoom().curPicture; size = inFile->readUint32BE(); if (size != _state.items.size()) |