aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2011-12-24 01:09:17 +0200
committerFilippos Karapetis2011-12-24 01:09:17 +0200
commit99a5db20494eff00d6d149c08b75ba83d9a7af20 (patch)
tree25c523c086d7ba7f4737c038c2358c35ef4ad8a5 /engines
parent1cb1df369953b6bc9cfac555cc165cb972c96f8f (diff)
downloadscummvm-rg350-99a5db20494eff00d6d149c08b75ba83d9a7af20.tar.gz
scummvm-rg350-99a5db20494eff00d6d149c08b75ba83d9a7af20.tar.bz2
scummvm-rg350-99a5db20494eff00d6d149c08b75ba83d9a7af20.zip
DREAMWEB: Fix typo in incRyanPage()
Diffstat (limited to 'engines')
-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 9efb49b873..0b2ed7a7c5 100644
--- a/engines/dreamweb/stubs.cpp
+++ b/engines/dreamweb/stubs.cpp
@@ -3775,7 +3775,7 @@ void DreamGenContext::incRyanPage() {
commandOnly(31);
}
- if (data.word(kMousebutton) == data.word(kOldbutton) || (data.word(kMousebutton) & 1))
+ if (data.word(kMousebutton) == data.word(kOldbutton) || !(data.word(kMousebutton) & 1))
return;
data.byte(kRyanpage) = (data.word(kMousex) - (kInventx + 167)) / 18;