mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-25 05:41:42 +00:00
Add USE_MOUSEINPUT because without it, the mouse gets grabbed with use_mouse off!
This commit is contained in:
parent
a3396d6bd7
commit
3b967c8eee
1 changed files with 1 additions and 1 deletions
|
@ -388,7 +388,7 @@ void I_UpdateMouseGrab(void)
|
|||
{
|
||||
if (SDL_WasInit(SDL_INIT_VIDEO) == SDL_INIT_VIDEO && window != NULL
|
||||
&& SDL_GetMouseFocus() == window && SDL_GetKeyboardFocus() == window
|
||||
&& !IGNORE_MOUSE)
|
||||
&& USE_MOUSEINPUT && !IGNORE_MOUSE)
|
||||
SDLdoGrabMouse();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue