diff options
Diffstat (limited to 'Stars45/Game.cpp')
-rw-r--r-- | Stars45/Game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/Game.cpp b/Stars45/Game.cpp index e2364de..add37b1 100644 --- a/Stars45/Game.cpp +++ b/Stars45/Game.cpp @@ -736,7 +736,7 @@ Game::Run() // Polling messages from event queue until quit clock.Set(); - while (status < EXIT || Panic::Panicked()) { + while (status < EXIT && !Panic::Panicked()) { if (PeekMessage(&msg, hwnd, 0, 0, PM_REMOVE)) { if (msg.message == WM_QUIT) break; |