aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2011-12-12 22:43:56 +0200
committerFilippos Karapetis2011-12-12 22:43:56 +0200
commitd41c89124f035f4922615ea02e9e8e74f6e3ddf6 (patch)
tree8c5e6bb94de8168889f3ef5e7412e083efd83b2e
parentfc9a1b840707086064692992c5b02e17d7da065d (diff)
downloadscummvm-rg350-d41c89124f035f4922615ea02e9e8e74f6e3ddf6.tar.gz
scummvm-rg350-d41c89124f035f4922615ea02e9e8e74f6e3ddf6.tar.bz2
scummvm-rg350-d41c89124f035f4922615ea02e9e8e74f6e3ddf6.zip
DREAMWEB: Fix regression in entryAnims()
-rw-r--r--engines/dreamweb/stubs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index 1521dddfe8..4a870fa42c 100644
--- a/engines/dreamweb/stubs.cpp
+++ b/engines/dreamweb/stubs.cpp
@@ -4449,7 +4449,7 @@ void DreamGenContext::entryAnims() {
default:
if (data.byte(kReallocation) == 46 && data.byte(kSartaindead) == 1) { // Crystal
removeFreeObject(0);
- } else if (data.byte(kLocation) == 9 && checkIfPathIsOn(2) && data.byte(kAidedead) == 0) {
+ } else if (data.byte(kLocation) == 9 && !checkIfPathIsOn(2) && data.byte(kAidedead) != 0) {
// Top of church
if (checkIfPathIsOn(3))
turnPathOn(2);