]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_phys.c
fix speedhack issue with low cl_netfps / packet loss on servers with sv_clmovement_wa...
[xonotic/darkplaces.git] / sv_phys.c
index 39cb72ad9309ec8e5d70d4084a9444ede18d103b..ffc4123f6f6ed70b09d29f90f1876e2719de46a0 100644 (file)
--- a/sv_phys.c
+++ b/sv_phys.c
@@ -2190,7 +2190,10 @@ void SV_Physics_ClientEntity(prvm_edict_t *ent)
 
        // don't run physics here if running asynchronously
        if (host_client->clmovement_skipphysicsframes <= 0)
+       {
                SV_ClientThink();
+               //host_client->cmd.time = max(host_client->cmd.time, sv.time);
+       }
 
        // make sure the velocity is sane (not a NaN)
        SV_CheckVelocity(ent);