Don't reset onground flag on new server message

This fixes physics issue with ramps/elevators when
the server is continuously sending messages without
client data in them (with updated onground info),
e.g. stuffcmds for fog animation, or tempentities

https://www.celephais.net/board/view_thread.php?id=61381&start=660&end=665
This commit is contained in:
Andrei Drexler 2022-04-23 11:33:50 +03:00 committed by Ozkan Sezer
parent ae4bf378c0
commit d7c8111ea0

View file

@ -976,7 +976,7 @@ void CL_ParseServerMessage (void)
else if (cl_shownet.value == 2)
Con_Printf ("------------------\n");
cl.onground = false; // unless the server says otherwise
// cl.onground = false; // unless the server says otherwise
//
// parse the message
//