diff options
author | Simon Howard | 2007-03-09 12:56:45 +0000 |
---|---|---|
committer | Simon Howard | 2007-03-09 12:56:45 +0000 |
commit | f6d6e5fc7b00c79382416a99d7e7548d7dd71185 (patch) | |
tree | 3d701332821b77c63c9b548c8442b91f45dc7f30 /src/am_map.c | |
parent | c5a4f04bc21825a0bdd59bef804229389a7a4ce1 (diff) | |
download | chocolate-doom-f6d6e5fc7b00c79382416a99d7e7548d7dd71185.tar.gz chocolate-doom-f6d6e5fc7b00c79382416a99d7e7548d7dd71185.tar.bz2 chocolate-doom-f6d6e5fc7b00c79382416a99d7e7548d7dd71185.zip |
Pay closer attention to keyboard mappings. In the menu code, distinguish
between keys pressed and characters typed, so that, for example, when
the menu prompts "press 'y' to continue", it responds to the _character_
y being typed, not the key that is 'y' on an american keyboard being
pressed. Do the same when reading cheats.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 847
Diffstat (limited to 'src/am_map.c')
-rw-r--r-- | src/am_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/am_map.c b/src/am_map.c index 7ba71f5c..11f77c1e 100644 --- a/src/am_map.c +++ b/src/am_map.c @@ -706,7 +706,7 @@ AM_Responder cheatstate=0; rc = false; } - if (!deathmatch && cht_CheckCheat(&cheat_amap, ev->data1)) + if (!deathmatch && cht_CheckCheat(&cheat_amap, ev->data2)) { rc = false; cheating = (cheating+1) % 3; |