diff options
Diffstat (limited to 'StarsEx/WndProc.cpp')
-rw-r--r-- | StarsEx/WndProc.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/StarsEx/WndProc.cpp b/StarsEx/WndProc.cpp index 1f068b3..2d59350 100644 --- a/StarsEx/WndProc.cpp +++ b/StarsEx/WndProc.cpp @@ -37,9 +37,7 @@ WndProc(HWND hwnd, UINT message, WPARAM uParam, LPARAM lParam) break; case WM_PAINT: - if (!game || !game->OnPaint()) - return DefWindowProc(hwnd, message, uParam, lParam); - break; + return DefWindowProc(hwnd, message, uParam, lParam); case WM_SETCURSOR: if (game && game->ShowMouse()) { |