diff options
author | Yotam Barnoy | 2010-02-21 04:04:13 +0000 |
---|---|---|
committer | Yotam Barnoy | 2010-02-21 04:04:13 +0000 |
commit | ef330ed9b4e5d6252134ed137b042593f79d02a9 (patch) | |
tree | 919c4ae91efca10102936a1833251b48323b8983 /engines/touche | |
parent | cebb052e2cfd963b95d7357b7c21dc8c437e058a (diff) | |
download | scummvm-rg350-ef330ed9b4e5d6252134ed137b042593f79d02a9.tar.gz scummvm-rg350-ef330ed9b4e5d6252134ed137b042593f79d02a9.tar.bz2 scummvm-rg350-ef330ed9b4e5d6252134ed137b042593f79d02a9.zip |
Patch for bug 2943361 by littleboy, adding full kb modifier support to all engines + GUI and proper keypad handling
svn-id: r48101
Diffstat (limited to 'engines/touche')
-rw-r--r-- | engines/touche/touche.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/touche/touche.cpp b/engines/touche/touche.cpp index 25874f869e..3289afe00f 100644 --- a/engines/touche/touche.cpp +++ b/engines/touche/touche.cpp @@ -313,7 +313,7 @@ void ToucheEngine::processEvents(bool handleKeyEvents) { } else if (event.kbd.keycode == Common::KEYCODE_F10) { _fastWalkMode = false; } - if (event.kbd.flags == Common::KBD_CTRL) { + if (event.kbd.hasFlags(Common::KBD_CTRL)) { if (event.kbd.keycode == Common::KEYCODE_f) { _fastMode = !_fastMode; } |