From ab2e00a64287c78195d117ab610b50ecc90dceed Mon Sep 17 00:00:00 2001 From: Alexis Murzeau Date: Mon, 8 Aug 2022 19:29:16 +0200 Subject: [PATCH] fix gui not responding when the game is paused --- SpaceCadetPinball/winmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpaceCadetPinball/winmain.cpp b/SpaceCadetPinball/winmain.cpp index 57792ab..860bd7c 100644 --- a/SpaceCadetPinball/winmain.cpp +++ b/SpaceCadetPinball/winmain.cpp @@ -898,7 +898,7 @@ int winmain::ProcessWindowMessages() { static auto idleWait = 0; SDL_Event event; - if (has_focus && !single_step) + if (has_focus) { idleWait = static_cast(TargetFrameTime.count()); while (SDL_PollEvent(&event))