diff options
author | Paul Gilbert | 2014-12-06 15:01:52 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 23:01:37 -0500 |
commit | 67b3304f710a6888943e8b029237b246377d4026 (patch) | |
tree | 67a02a3d384aab6ee682252e448a91351f83bb1d /engines/access/amazon/amazon_logic.cpp | |
parent | 84d77b7daf8473cd25196ae9445015ed3656797a (diff) | |
download | scummvm-rg350-67b3304f710a6888943e8b029237b246377d4026.tar.gz scummvm-rg350-67b3304f710a6888943e8b029237b246377d4026.tar.bz2 scummvm-rg350-67b3304f710a6888943e8b029237b246377d4026.zip |
ACCESS: Clean up keyboard control
Diffstat (limited to 'engines/access/amazon/amazon_logic.cpp')
-rw-r--r-- | engines/access/amazon/amazon_logic.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/access/amazon/amazon_logic.cpp b/engines/access/amazon/amazon_logic.cpp index a7ee432183..5def4815e2 100644 --- a/engines/access/amazon/amazon_logic.cpp +++ b/engines/access/amazon/amazon_logic.cpp @@ -158,12 +158,9 @@ void CampScene::mWhileDoOpen() { events.pollEventsAndWait(); - if (events._leftButton || events._rightButton || events._keypresses.size() > 0) { + if (_vm->_events->isKeyMousePressed()) { _skipStart = true; _vm->_midi->newMusic(10, 1); - - events.debounceLeft(); - events.zeroKeys(); break; } |