diff options
author | Johannes Schickel | 2009-08-11 18:16:21 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-08-11 18:16:21 +0000 |
commit | 0dcb2e11839e7260d4bbee550851ea2963ac0d1d (patch) | |
tree | c89fefe8886a073d010f9735e026c171454948e8 /engines/kyra/script_lok.cpp | |
parent | 9f3953631f847b46720ae7b2fae2fd2ef0c57e36 (diff) | |
download | scummvm-rg350-0dcb2e11839e7260d4bbee550851ea2963ac0d1d.tar.gz scummvm-rg350-0dcb2e11839e7260d4bbee550851ea2963ac0d1d.tar.bz2 scummvm-rg350-0dcb2e11839e7260d4bbee550851ea2963ac0d1d.zip |
Don't allow menu / inventory usage in o1_waitForConfirmationMouseClick, just like the original does. This prevents creating bad saves like in bug #2835715 "KYRA: GFX glitch in Amiga version at the bridge".
svn-id: r43283
Diffstat (limited to 'engines/kyra/script_lok.cpp')
-rw-r--r-- | engines/kyra/script_lok.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/script_lok.cpp b/engines/kyra/script_lok.cpp index d2f878a050..a778a2066b 100644 --- a/engines/kyra/script_lok.cpp +++ b/engines/kyra/script_lok.cpp @@ -1394,7 +1394,7 @@ int KyraEngine_LoK::o1_waitForConfirmationMouseClick(EMCState *script) { updateInput(); - int input = checkInput(_buttonList, false) & 0xFF; + int input = checkInput(0, false) & 0xFF; removeInputTop(); if (input == 200) break; |