Add USE_MOUSEINPUT because without it, the mouse gets grabbed with use_mouse off!

This commit is contained in:
James R 2020-01-04 22:36:44 -08:00
parent a3396d6bd7
commit 3b967c8eee

View file

@ -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();
}