mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-11-17 15:20:17 +01:00
fix gui not responding when the game is paused (#151)
This commit is contained in:
parent
54a217c27b
commit
367f4538a3
1 changed files with 1 additions and 1 deletions
|
@ -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<int>(TargetFrameTime.count());
|
||||
while (SDL_PollEvent(&event))
|
||||
|
|
Loading…
Reference in a new issue