From d99c907acb3afdf0844daa2a1b0f5c6cd1a27f37 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Thu, 7 May 2020 03:36:13 +1000 Subject: [PATCH] - reset buttonMap button states after returning from pause for Duke3D (stops keys acting stuck down if down prior to pausing). --- source/duke3d/src/game.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/duke3d/src/game.cpp b/source/duke3d/src/game.cpp index 073247112..347d0a84f 100644 --- a/source/duke3d/src/game.cpp +++ b/source/duke3d/src/game.cpp @@ -5912,6 +5912,7 @@ MAIN_LOOP_RESTART: if (M_Active() || GUICapture || ud.pause_on != 0) { totalclock = ototalclock + TICSPERFRAME; + buttonMap.ResetButtonStates(); } else {