diff options
author | uruk | 2013-07-27 17:00:02 +0200 |
---|---|---|
committer | uruk | 2013-07-27 17:00:02 +0200 |
commit | 0703085d20330624a741c52583b4bbc9ed252498 (patch) | |
tree | 6af314b9d557c2309a4c7ec0bc42ab6305c6601c /engines | |
parent | 541f5f9c3b20311140d11f64f71678de2cc5c663 (diff) | |
download | scummvm-rg350-0703085d20330624a741c52583b4bbc9ed252498.tar.gz scummvm-rg350-0703085d20330624a741c52583b4bbc9ed252498.tar.bz2 scummvm-rg350-0703085d20330624a741c52583b4bbc9ed252498.zip |
AVALANCHE: Repair Avalot::handleKeyDown().
Diffstat (limited to 'engines')
-rw-r--r-- | engines/avalanche/avalot.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/avalanche/avalot.cpp b/engines/avalanche/avalot.cpp index ef0de65635..d7dcff9677 100644 --- a/engines/avalanche/avalot.cpp +++ b/engines/avalanche/avalot.cpp @@ -173,8 +173,7 @@ void Avalot::handleKeyDown(const Common::Event &event) { break; } - if (((32 <= event.kbd.ascii) && (event.kbd.ascii <= 46)) || ((48 <= event.kbd.ascii) && (event.kbd.ascii <= 223)) - || ((225 <= event.kbd.ascii) && (event.kbd.ascii <= 255))) { + if ((32 <= event.kbd.ascii) && (event.kbd.ascii <= 128) && (event.kbd.ascii != 47)) { byte inChar = event.kbd.ascii; if (_vm->_dropdown->ddm_o.menunow) { _vm->_dropdown->parsekey(inChar, _vm->_enhanced->extd); |