diff options
author | Strangerke | 2012-06-25 00:44:59 +0200 |
---|---|---|
committer | Strangerke | 2012-06-25 00:44:59 +0200 |
commit | c7fd284e4a96686b3dde288c047db8b68a96a408 (patch) | |
tree | 5da727cc129ea4808319de876ed02aeaf3c6d107 /engines/cge | |
parent | 150011b843e865d99322417e45ba53d6a64ff34b (diff) | |
download | scummvm-rg350-c7fd284e4a96686b3dde288c047db8b68a96a408.tar.gz scummvm-rg350-c7fd284e4a96686b3dde288c047db8b68a96a408.tar.bz2 scummvm-rg350-c7fd284e4a96686b3dde288c047db8b68a96a408.zip |
CGE: Fix bug 3537530 - ALTering dice
Diffstat (limited to 'engines/cge')
-rw-r--r-- | engines/cge/events.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge/events.cpp b/engines/cge/events.cpp index 095aac2412..c8baf4ed61 100644 --- a/engines/cge/events.cpp +++ b/engines/cge/events.cpp @@ -55,7 +55,7 @@ Sprite *Keyboard::setClient(Sprite *spr) { bool Keyboard::getKey(Common::Event &event) { Common::KeyCode keycode = event.kbd.keycode; - if ((keycode == Common::KEYCODE_LALT) || (keycode == Common::KEYCODE_RALT)) + if (((keycode == Common::KEYCODE_LALT) || (keycode == Common::KEYCODE_RALT)) && event.type == Common::EVENT_KEYDOWN) _keyAlt = true; else _keyAlt = false; |