diff options
author | Willem Jan Palenstijn | 2011-12-10 18:19:46 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-12-10 18:19:46 +0100 |
commit | 15d053a8056cb3b9da20e76e67412e4ef5dd0ae2 (patch) | |
tree | e190f073bc7d03c6ec1d75c49496ad3c7b6e3f2c /engines | |
parent | 6c443ab5fe561ec6f267fabbfee59fb27a6e7786 (diff) | |
download | scummvm-rg350-15d053a8056cb3b9da20e76e67412e4ef5dd0ae2.tar.gz scummvm-rg350-15d053a8056cb3b9da20e76e67412e4ef5dd0ae2.tar.bz2 scummvm-rg350-15d053a8056cb3b9da20e76e67412e4ef5dd0ae2.zip |
DREAMWEB: Fix regression in diaryKeyN
Diffstat (limited to 'engines')
-rw-r--r-- | engines/dreamweb/stubs.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp index 57a2589467..a4cd72dd32 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'; |