DREAMWEB: Fix regression in diaryKeyN

This commit is contained in:
Willem Jan Palenstijn 2011-12-10 18:19:46 +01:00
parent 6c443ab5fe
commit 15d053a805

View file

@ -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';