- reset buttonMap button states after returning from pause for SW (stops keys acting stuck down if down prior to pausing).

This commit is contained in:
Mitchell Richters 2020-05-07 03:37:14 +10:00 committed by Christoph Oelckers
parent 99fdbfb6cb
commit 693b6955da

View file

@ -2529,6 +2529,7 @@ void RunLevel(void)
if (M_Active() || GUICapture || GamePaused) if (M_Active() || GUICapture || GamePaused)
{ {
totalclock = ototalclock + (120 / synctics); totalclock = ototalclock + (120 / synctics);
buttonMap.ResetButtonStates();
} }
else else
{ {