mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-02 22:11:22 +00:00
Don't try doing mouse grabs in dedicated servers...
This commit is contained in:
parent
2fbea9a1ea
commit
fef685af82
1 changed files with 3 additions and 0 deletions
|
@ -288,6 +288,9 @@ static void IN_UpdateGrabs_Internal(qboolean forecerelease)
|
|||
freemouse = wantcursor && (modestate == MS_WINDOWED || (key_dest == key_game && cl.csqc_cursorforced));
|
||||
needevents = (!wantcursor) || key_dest == key_game;
|
||||
|
||||
if (isDedicated)
|
||||
return;
|
||||
|
||||
if (forecerelease)
|
||||
needevents = freemouse = wantcursor = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue