diff options
Diffstat (limited to 'StarsEx/WndProc.cpp')
-rw-r--r-- | StarsEx/WndProc.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/StarsEx/WndProc.cpp b/StarsEx/WndProc.cpp index 2d59350..ae91a9a 100644 --- a/StarsEx/WndProc.cpp +++ b/StarsEx/WndProc.cpp @@ -40,15 +40,9 @@ WndProc(HWND hwnd, UINT message, WPARAM uParam, LPARAM lParam) return DefWindowProc(hwnd, message, uParam, lParam); case WM_SETCURSOR: - if (game && game->ShowMouse()) { - return DefWindowProc(hwnd, message, uParam, lParam); - } - else { - // hide the windows mouse cursor - SetCursor(NULL); - return 1; - } - break; + // hide the windows mouse cursor + SetCursor(NULL); + return 1; case WM_ENTERSIZEMOVE: // Halt frame movement while the app is sizing or moving |