From 693b6955dac84b13fc5de91aee29364c3be6e526 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Thu, 7 May 2020 03:37:14 +1000 Subject: [PATCH] - reset buttonMap button states after returning from pause for SW (stops keys acting stuck down if down prior to pausing). --- source/sw/src/game.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/sw/src/game.cpp b/source/sw/src/game.cpp index a6c056d89..1726eece4 100644 --- a/source/sw/src/game.cpp +++ b/source/sw/src/game.cpp @@ -2529,6 +2529,7 @@ void RunLevel(void) if (M_Active() || GUICapture || GamePaused) { totalclock = ototalclock + (120 / synctics); + buttonMap.ResetButtonStates(); } else {