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:
parent
d73a64228a
commit
6b62463937
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue