aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2014-12-03 23:22:03 -0500
committerPaul Gilbert2014-12-12 23:00:25 -0500
commit06f99158f063e72a492a661fc94529ec3b0d242a (patch)
treefa97e06f8704bf420d1c5ca6e325e92b7c6950ca
parentf2cd2ee5b3b9cef53441375cb35bd2fd67a80f48 (diff)
downloadscummvm-rg350-06f99158f063e72a492a661fc94529ec3b0d242a.tar.gz
scummvm-rg350-06f99158f063e72a492a661fc94529ec3b0d242a.tar.bz2
scummvm-rg350-06f99158f063e72a492a661fc94529ec3b0d242a.zip
ACCESS: Debounce any mouse press when showing death screen
-rw-r--r--engines/access/amazon/amazon_game.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/access/amazon/amazon_game.cpp b/engines/access/amazon/amazon_game.cpp
index 29197fe93c..248f5e2f49 100644
--- a/engines/access/amazon/amazon_game.cpp
+++ b/engines/access/amazon/amazon_game.cpp
@@ -607,6 +607,8 @@ void AmazonEngine::dead(int deathId) {
_events->hideCursor();
_screen->forceFadeOut();
_scripts->cmdFreeSound();
+ _events->debounceLeft();
+ _events->zeroKeys();
_sound->_soundTable.push_back(SoundEntry(_files->loadFile(98, 44), 1));