mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
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:
parent
d8c480c75e
commit
d590b1d2aa
1 changed files with 6 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue