diff options
author | Sven Hesse | 2007-06-23 15:09:22 +0000 |
---|---|---|
committer | Sven Hesse | 2007-06-23 15:09:22 +0000 |
commit | 04afb9bc7dbc022f76c11fa2f36966c20e415421 (patch) | |
tree | 442e0a0190ee389d19c88495694386c36135072e | |
parent | 6ef494ab28e0c326e874d85aebd333daedf1a54f (diff) | |
download | scummvm-rg350-04afb9bc7dbc022f76c11fa2f36966c20e415421.tar.gz scummvm-rg350-04afb9bc7dbc022f76c11fa2f36966c20e415421.tar.bz2 scummvm-rg350-04afb9bc7dbc022f76c11fa2f36966c20e415421.zip |
Using KEYCODE_f and KEYCODE_g instead of 'f' and 'g' to check for fast-mode-keys
svn-id: r27669
-rw-r--r-- | engines/gob/util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/util.cpp b/engines/gob/util.cpp index c1e020679c..69ddeafa67 100644 --- a/engines/gob/util.cpp +++ b/engines/gob/util.cpp @@ -108,9 +108,9 @@ void Util::processInput(bool scroll) { break; case Common::EVENT_KEYDOWN: if (event.kbd.flags == Common::KBD_CTRL) { - if (event.kbd.keycode == 'f') + if (event.kbd.keycode == Common::KEYCODE_f) _fastMode ^= 1; - else if (event.kbd.keycode == 'g') + else if (event.kbd.keycode == Common::KEYCODE_g) _fastMode ^= 2; break; } |