diff options
author | Simon Howard | 2014-03-16 02:27:34 -0400 |
---|---|---|
committer | Simon Howard | 2014-03-16 02:27:34 -0400 |
commit | 6b624639374600c50e72b435a5d4ce0fe2f7a1a1 (patch) | |
tree | 88aa22f2828419ef0c3d4d7c727d56095873775f | |
parent | d73a64228a6502ce68e1c9fd1cc5197863a50c7e (diff) | |
download | chocolate-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).
-rw-r--r-- | src/heretic/g_game.c | 2 | ||||
-rw-r--r-- | src/hexen/g_game.c | 2 |
2 files changed, 2 insertions, 2 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); 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); |