Using KEYCODE_f and KEYCODE_g instead of 'f' and 'g' to check for fast-mode-keys

svn-id: r27669
This commit is contained in:
Sven Hesse 2007-06-23 15:09:22 +00:00
parent 6ef494ab28
commit 04afb9bc7d

View file

@ -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;
}