aboutsummaryrefslogtreecommitdiff
path: root/engines/adl/hires1.cpp
diff options
context:
space:
mode:
authorWalter van Niftrik2016-08-21 12:27:45 +0200
committerWalter van Niftrik2016-08-21 12:41:31 +0200
commitdf838f50ebdc4005dc07df263cead32a4c398d4e (patch)
treed07ff6d5ffb03f68403b1d10fdfd40e23df4661a /engines/adl/hires1.cpp
parentff0bc115b57dc19f4860014bc3c7d72b67c9ce38 (diff)
downloadscummvm-rg350-df838f50ebdc4005dc07df263cead32a4c398d4e.tar.gz
scummvm-rg350-df838f50ebdc4005dc07df263cead32a4c398d4e.tar.bz2
scummvm-rg350-df838f50ebdc4005dc07df263cead32a4c398d4e.zip
ADL: Add "current picture" variable to state
This mimics the behavior of the original engine. Note that for hires2, this patch adds some glitches that are also present in the original, and removes some glitches that are not.
Diffstat (limited to 'engines/adl/hires1.cpp')
-rw-r--r--engines/adl/hires1.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/adl/hires1.cpp b/engines/adl/hires1.cpp
index 096d8ef496..26565c03c3 100644
--- a/engines/adl/hires1.cpp
+++ b/engines/adl/hires1.cpp
@@ -338,6 +338,7 @@ void HiRes1Engine::loadRoom(byte roomNr) {
}
void HiRes1Engine::showRoom() {
+ _state.curPicture = getCurRoom().curPicture;
clearScreen();
loadRoom(_state.room);