summaryrefslogtreecommitdiff
path: root/src/am_map.c
diff options
context:
space:
mode:
authorSimon Howard2007-03-16 21:43:28 +0000
committerSimon Howard2007-03-16 21:43:28 +0000
commit1658ae111ec89bc32d63dcb12848337a968a0400 (patch)
tree6918e6b44f12c7e9c6b7f455ce95014f91d712eb /src/am_map.c
parentb8e861b27e87b35cecc3a057511f65419184cc4d (diff)
downloadchocolate-doom-1658ae111ec89bc32d63dcb12848337a968a0400.tar.gz
chocolate-doom-1658ae111ec89bc32d63dcb12848337a968a0400.tar.bz2
chocolate-doom-1658ae111ec89bc32d63dcb12848337a968a0400.zip
Add config file option to enable/disable native keyboard bindings.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 860
Diffstat (limited to 'src/am_map.c')
-rw-r--r--src/am_map.c2
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;