git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7038
d7cf8633-e32d-0410-b094-
e92efae38249
{
prvm_edict_t *ent;
ent = host_client->edict;
- SV_ClientThink();
if (!SV_CheckWater (ent) && ! ((int)ent->fields.server->flags & FL_WATERJUMP) )
SV_AddGravity (ent);
SV_CheckStuck (ent);
return;
}
+ SV_ClientThink();
+
// make sure the velocity is sane (not a NaN)
SV_CheckVelocity(ent);
// LordHavoc: a hack to ensure that the (rather silly) id1 quakec
if (sv.frametime > 0.05)
{
prog->globals.server->frametime = sv.frametime = moveframetime * 0.5f;
+ SV_ClientThink();
SV_Physics_ClientMove();
}
+ SV_ClientThink();
SV_Physics_ClientMove();
sv.frametime = oldframetime2;
prog->globals.server->frametime = oldframetime;