diff options
author | Max Horn | 2007-06-23 14:19:54 +0000 |
---|---|---|
committer | Max Horn | 2007-06-23 14:19:54 +0000 |
commit | 9f1e47aa536f82fb20324a54da9510291ba9cccc (patch) | |
tree | 6eef84920b7506093d2e99bbd40e69c4b951e6f2 /engines | |
parent | dcae6d14a4f475c42c5f759ff422b0e2808f427c (diff) | |
download | scummvm-rg350-9f1e47aa536f82fb20324a54da9510291ba9cccc.tar.gz scummvm-rg350-9f1e47aa536f82fb20324a54da9510291ba9cccc.tar.bz2 scummvm-rg350-9f1e47aa536f82fb20324a54da9510291ba9cccc.zip |
Compare Common::KEYCODE_ against KeyState::keycode, not KeyState::ascii
svn-id: r27666
Diffstat (limited to 'engines')
-rw-r--r-- | engines/parallaction/parallaction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/parallaction.cpp b/engines/parallaction/parallaction.cpp index a72940a6c0..e0291c5a2a 100644 --- a/engines/parallaction/parallaction.cpp +++ b/engines/parallaction/parallaction.cpp @@ -285,8 +285,8 @@ uint16 Parallaction::updateInput() { if (e.kbd.flags == Common::KBD_CTRL && e.kbd.keycode == 'd') _debugger->attach(); if (getFeatures() & GF_DEMO) break; - if (e.kbd.ascii == Common::KEYCODE_l) KeyDown = kEvLoadGame; - if (e.kbd.ascii == Common::KEYCODE_s) KeyDown = kEvSaveGame; + if (e.kbd.keycode == Common::KEYCODE_l) KeyDown = kEvLoadGame; + if (e.kbd.keycode == Common::KEYCODE_s) KeyDown = kEvSaveGame; break; case Common::EVENT_LBUTTONDOWN: |