[Scummvm-cvs-logs] scummvm master -> 15d053a8056cb3b9da20e76e67412e4ef5dd0ae2
wjp
wjp at usecode.org
Sat Dec 10 18:24:03 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:
15d053a805 DREAMWEB: Fix regression in diaryKeyN
Commit: 15d053a8056cb3b9da20e76e67412e4ef5dd0ae2
https://github.com/scummvm/scummvm/commit/15d053a8056cb3b9da20e76e67412e4ef5dd0ae2
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2011-12-10T09:19:46-08:00
Commit Message:
DREAMWEB: Fix regression in diaryKeyN
Changed paths:
engines/dreamweb/stubs.cpp
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index 57a2589..a4cd72d 100644
--- a/engines/dreamweb/stubs.cpp
+++ b/engines/dreamweb/stubs.cpp
@@ -4183,6 +4183,11 @@ void DreamGenContext::diaryKeyN() {
commandOnly(23);
}
+ if (!data.word(kMousebutton) ||
+ data.word(kOldbutton) == data.word(kMousebutton) ||
+ data.byte(kPresscount))
+ return; // notkeyn
+
playChannel1(16);
data.byte(kPresscount) = 12;
data.byte(kPressed) = 'N';
More information about the Scummvm-git-logs
mailing list