[Scummvm-cvs-logs] scummvm master -> 99a5db20494eff00d6d149c08b75ba83d9a7af20

bluegr md5 at scummvm.org
Sat Dec 24 00:11:30 CET 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
99a5db2049 DREAMWEB: Fix typo in incRyanPage()


Commit: 99a5db20494eff00d6d149c08b75ba83d9a7af20
    https://github.com/scummvm/scummvm/commit/99a5db20494eff00d6d149c08b75ba83d9a7af20
Author: Filippos Karapetis (md5 at scummvm.org)
Date: 2011-12-23T15:09:17-08:00

Commit Message:
DREAMWEB: Fix typo in incRyanPage()

Changed paths:
    engines/dreamweb/stubs.cpp



diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index 9efb49b..0b2ed7a 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;






More information about the Scummvm-git-logs mailing list