diff options
author | Bendegúz Nagy | 2016-08-11 11:38:54 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | 6cba484abb6a83b0dcf9a322ddd981d8feea42a5 (patch) | |
tree | e40bfbce148b56a9933e3a3a8475217c705e156a | |
parent | 5c2ee5c7487773a3424ee8220049982896b9509e (diff) | |
download | scummvm-rg350-6cba484abb6a83b0dcf9a322ddd981d8feea42a5.tar.gz scummvm-rg350-6cba484abb6a83b0dcf9a322ddd981d8feea42a5.tar.bz2 scummvm-rg350-6cba484abb6a83b0dcf9a322ddd981d8feea42a5.zip |
DM: Make EventManager:f541_waitForMouseOrKeyActivity discard input first
-rw-r--r-- | engines/dm/eventman.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/dm/eventman.cpp b/engines/dm/eventman.cpp index 9eb941b4e3..3fbc95f5a4 100644 --- a/engines/dm/eventman.cpp +++ b/engines/dm/eventman.cpp @@ -1521,6 +1521,7 @@ void EventManager::f544_resetPressingEyeOrMouth() { } void EventManager::f541_waitForMouseOrKeyActivity() { + f357_discardAllInput(); Common::Event event; while (true) { if (_vm->_system->getEventManager()->pollEvent(event)) { |