From 6b624639374600c50e72b435a5d4ce0fe2f7a1a1 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 16 Mar 2014 02:27:34 -0400 Subject: 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). --- src/heretic/g_game.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/heretic') 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); -- cgit v1.2.3