aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWalter van Niftrik2017-01-30 00:03:05 +0100
committerWalter van Niftrik2017-01-30 00:05:10 +0100
commite7446adaf2b734350110d84eb43252639d7805e7 (patch)
tree03939bd4e5021e04eefd8f388952fc557ab878bf
parent113887cdf727b07a4767a023b3c47450f3c5415a (diff)
downloadscummvm-rg350-e7446adaf2b734350110d84eb43252639d7805e7.tar.gz
scummvm-rg350-e7446adaf2b734350110d84eb43252639d7805e7.tar.bz2
scummvm-rg350-e7446adaf2b734350110d84eb43252639d7805e7.zip
ADL: Fix hires5 direction opcodes
-rw-r--r--engines/adl/adl.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/adl/adl.cpp b/engines/adl/adl.cpp
index 55f98dfa97..3deeca1aed 100644
--- a/engines/adl/adl.cpp
+++ b/engines/adl/adl.cpp
@@ -1242,8 +1242,7 @@ int AdlEngine::o1_goDirection(ScriptEnv &e) {
return -1;
}
- getCurRoom().curPicture = getCurRoom().picture;
- _state.room = room;
+ switchRoom(room);
return -1;
}