diff options
author | Aki <please@ignore.pl> | 2022-04-07 00:01:35 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-04-07 00:01:35 +0200 |
commit | fa8ad06c603036f224ce406c38c6fd44b2cd0deb (patch) | |
tree | 197857b116a3f7a6710167772f23bb275fd4e460 /StarsEx/WndProc.cpp | |
parent | 2b8fa926eb8badc2f7e6716e4bdcdb2456216b8f (diff) | |
download | starshatter-fa8ad06c603036f224ce406c38c6fd44b2cd0deb.zip starshatter-fa8ad06c603036f224ce406c38c6fd44b2cd0deb.tar.gz starshatter-fa8ad06c603036f224ce406c38c6fd44b2cd0deb.tar.bz2 |
Removed ShowMouse from Game
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 |