Make sure CL_UpdateWindowedMouse() is called.

Without this the automatic mouse grab is not working.
This commit is contained in:
Yamagi Burmeister 2016-08-04 21:28:17 +02:00
parent a70cc2d923
commit d15f5d5b97

View file

@ -840,6 +840,7 @@ CL_Frame(int msec)
if (packetframe || renderframe) if (packetframe || renderframe)
{ {
CL_ReadPackets(); CL_ReadPackets();
CL_UpdateWindowedMouse();
Sys_SendKeyEvents(); Sys_SendKeyEvents();
Cbuf_Execute(); Cbuf_Execute();
CL_FixCvarCheats(); CL_FixCvarCheats();