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).
This commit is contained in:
Simon Howard 2014-03-16 02:27:34 -04:00
parent d73a64228a
commit 6b62463937
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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);