X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=sv_phys.c;h=a72a7ca6acf5b8a0142c5df48bc506834fb4635c;hp=131eda9fe5235a522f407b456461eff55e267fcc;hb=e3d73d3b315e86fc321b6ef02bb7dc14742d156a;hpb=feb22f39c2c1a481b8c7a2364767b6402d5d94a1 diff --git a/sv_phys.c b/sv_phys.c index 131eda9f..a72a7ca6 100644 --- a/sv_phys.c +++ b/sv_phys.c @@ -2965,7 +2965,7 @@ void SV_Physics_ClientMove(void) // call player physics, this needs the proper frametime PRVM_serverglobalfloat(frametime) = sv.frametime; - SV_ClientThink(); + SV_PlayerPhysics(); // call standard client pre-think, with frametime = 0 PRVM_serverglobalfloat(time) = sv.time; @@ -3013,7 +3013,7 @@ static void SV_Physics_ClientEntity_PreThink(prvm_edict_t *ent) // don't run physics here if running asynchronously if (host_client->clmovement_inputtimeout <= 0) { - SV_ClientThink(); + SV_PlayerPhysics(); //host_client->cmd.time = max(host_client->cmd.time, sv.time); }