- 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:
Mitchell Richters 2020-05-07 03:36:13 +10:00 committed by Christoph Oelckers
parent 1bb3640bc9
commit d99c907acb

View file

@ -5912,6 +5912,7 @@ MAIN_LOOP_RESTART:
if (M_Active() || GUICapture || ud.pause_on != 0)
{
totalclock = ototalclock + TICSPERFRAME;
buttonMap.ResetButtonStates();
}
else
{