summaryrefslogtreecommitdiff
path: root/src/heretic
diff options
context:
space:
mode:
authorSimon Howard2014-03-16 02:27:34 -0400
committerSimon Howard2014-03-16 02:27:34 -0400
commit6b624639374600c50e72b435a5d4ce0fe2f7a1a1 (patch)
tree88aa22f2828419ef0c3d4d7c727d56095873775f /src/heretic
parentd73a64228a6502ce68e1c9fd1cc5197863a50c7e (diff)
downloadchocolate-doom-6b624639374600c50e72b435a5d4ce0fe2f7a1a1.tar.gz
chocolate-doom-6b624639374600c50e72b435a5d4ce0fe2f7a1a1.tar.bz2
chocolate-doom-6b624639374600c50e72b435a5d4ce0fe2f7a1a1.zip
heretic/hexen: Fix pause key remapping.
Heretic and Hexen had the pause key hard-coded to KEY_PAUSE when they should actually use key_pause so that they can be remapped by the user. Thanks to Fabian Greffrath for the bug report (fixes #337).
Diffstat (limited to 'src/heretic')
-rw-r--r--src/heretic/g_game.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/heretic/g_game.c b/src/heretic/g_game.c
index 20858cb7..48e68a2a 100644
--- a/src/heretic/g_game.c
+++ b/src/heretic/g_game.c
@@ -851,7 +851,7 @@ boolean G_Responder(event_t * ev)
}
return (true);
}
- if (ev->data1 == KEY_PAUSE && !MenuActive)
+ if (ev->data1 == key_pause && !MenuActive)
{
sendpause = true;
return (true);