summaryrefslogtreecommitdiff
path: root/src/am_map.c
diff options
context:
space:
mode:
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 11f77c1e..7ba71f5c 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->data2))
+ if (!deathmatch && cht_CheckCheat(&cheat_amap, ev->data1))
{
rc = false;
cheating = (cheating+1) % 3;