summaryrefslogtreecommitdiff
path: root/src/hexen
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/hexen
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/hexen')
-rw-r--r--src/hexen/g_game.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hexen/g_game.c b/src/hexen/g_game.c
index 9c20afe0..cb6d7130 100644
--- a/src/hexen/g_game.c
+++ b/src/hexen/g_game.c
@@ -848,7 +848,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);