Don't let player.thinks run quite so far in the past.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5415 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2019-02-24 08:31:04 +00:00
parent d8c480c75e
commit d590b1d2aa

View file

@ -7153,7 +7153,12 @@ void SV_RunCmd (usercmd_t *ucmd, qboolean recurse)
sv_player->v->velocity[2] -= 270;
}
WPhys_RunThink (&sv.world, (wedict_t*)sv_player);
{
float ptime = sv.world.physicstime;
sv.world.physicstime = sv.time; //urgh, WPhys_RunThink uses the wrong time base
WPhys_RunThink (&sv.world, (wedict_t*)sv_player);
sv.world.physicstime = ptime;
}
if (host_client->state && host_client->protocol == SCP_BAD)
{