mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-31 22:00:46 +00:00
- reset buttonMap button states after returning from pause for Duke3D (stops keys acting stuck down if down prior to pausing).
This commit is contained in:
parent
1bb3640bc9
commit
d99c907acb
1 changed files with 1 additions and 0 deletions
|
@ -5912,6 +5912,7 @@ MAIN_LOOP_RESTART:
|
||||||
if (M_Active() || GUICapture || ud.pause_on != 0)
|
if (M_Active() || GUICapture || ud.pause_on != 0)
|
||||||
{
|
{
|
||||||
totalclock = ototalclock + TICSPERFRAME;
|
totalclock = ototalclock + TICSPERFRAME;
|
||||||
|
buttonMap.ResetButtonStates();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue