Skip to content

Commit

Permalink
DREAMWEB: Fix regression in diaryKeyN
Browse files Browse the repository at this point in the history
  • Loading branch information
wjp committed Dec 10, 2011
1 parent 6c443ab commit 15d053a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions engines/dreamweb/stubs.cpp
Expand Up @@ -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';
Expand Down

0 comments on commit 15d053a

Please sign in to comment.