X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=sv_phys.c;h=a72a7ca6acf5b8a0142c5df48bc506834fb4635c;hb=d21ad272ad2c10c98373065fe37bdf91008288e4;hp=131eda9fe5235a522f407b456461eff55e267fcc;hpb=feb22f39c2c1a481b8c7a2364767b6402d5d94a1;p=xonotic%2Fdarkplaces.git 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); }