summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/GameWinDX9.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/GameWinDX9.cpp')
-rw-r--r--StarsEx/GameWinDX9.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/StarsEx/GameWinDX9.cpp b/StarsEx/GameWinDX9.cpp
index 2e1aabc..6e779c7 100644
--- a/StarsEx/GameWinDX9.cpp
+++ b/StarsEx/GameWinDX9.cpp
@@ -583,8 +583,7 @@ GameWinDX9::Run()
DispatchMessage(&msg);
}
else {
- if (GameLoop())
- WaitMessage();
+ GameLoop();
}
}
return exit_code ? exit_code : msg.wParam;