diff options
author | Paul Gilbert | 2015-05-09 15:48:19 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-05-09 15:48:19 -0400 |
commit | 6925b848d6bb8f93c6be3cc1d32780e729c6d242 (patch) | |
tree | 5489c48ffcd7682fd11af5577e62d2b6ef0b6a54 /engines/sherlock | |
parent | 1ba94c93e98533f3bfc2970d6ae40356515b99b9 (diff) | |
download | scummvm-rg350-6925b848d6bb8f93c6be3cc1d32780e729c6d242.tar.gz scummvm-rg350-6925b848d6bb8f93c6be3cc1d32780e729c6d242.tar.bz2 scummvm-rg350-6925b848d6bb8f93c6be3cc1d32780e729c6d242.zip |
SHERLOCK: Fix getting fresh mouse positions in loop showing quit dialog
Diffstat (limited to 'engines/sherlock')
-rw-r--r-- | engines/sherlock/user_interface.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sherlock/user_interface.cpp b/engines/sherlock/user_interface.cpp index 674141f171..8b3ee426a4 100644 --- a/engines/sherlock/user_interface.cpp +++ b/engines/sherlock/user_interface.cpp @@ -936,6 +936,8 @@ void UserInterface::doEnvControl() { events.pollEventsAndWait(); events.setButtonState(); + mousePos = events.mousePos(); + if (events.kbHit()) { Common::KeyState keyState = events.getKey(); _key = toupper(keyState.keycode); |