diff options
author | Aki <please@ignore.pl> | 2022-03-10 00:02:56 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-03-10 00:02:56 +0100 |
commit | d2709bc8708b72439bade20214dfd5f3482a34d2 (patch) | |
tree | 5214521f3ac1f2dcadb211f49b4ef4949f1e89cd /Stars45 | |
parent | e0dd50e4314a36fd99da0a7342b5ad88f449d33e (diff) | |
download | starshatter-d2709bc8708b72439bade20214dfd5f3482a34d2.zip starshatter-d2709bc8708b72439bade20214dfd5f3482a34d2.tar.gz starshatter-d2709bc8708b72439bade20214dfd5f3482a34d2.tar.bz2 |
Fixed logic error in game loop condition
Diffstat (limited to 'Stars45')
-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; |