From 581c4b10c5aa5dae3f9c3240e9e4ee41c9b22d2a Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 15 Jan 2020 03:03:15 +1000 Subject: [PATCH] Update the saved fields as well if there's no tick rate defined for server matched physics, fixes projectiles with sys_ticrate set to 0 --- qcsrc/common/physics/movetypes/movetypes.qc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/qcsrc/common/physics/movetypes/movetypes.qc b/qcsrc/common/physics/movetypes/movetypes.qc index bbd86d62e3..9d32cf3d5b 100644 --- a/qcsrc/common/physics/movetypes/movetypes.qc +++ b/qcsrc/common/physics/movetypes/movetypes.qc @@ -701,11 +701,11 @@ void Movetype_Physics_MatchTicrate(entity this, float tr, bool sloppy) // SV_Ph { Movetype_Physics_NoMatchServer(this); - this.tic_saved_flags = this.flags; - this.tic_saved_velocity = this.velocity; - this.tic_saved_origin = this.origin; - this.tic_saved_avelocity = this.avelocity; - this.tic_saved_angles = this.angles; + this.tic_saved_flags = this.tic_flags = this.flags; + this.tic_saved_velocity = this.tic_velocity = this.velocity; + this.tic_saved_origin = this.tic_origin = this.origin; + this.tic_saved_avelocity = this.tic_avelocity = this.avelocity; + this.tic_saved_angles = this.tic_angles = this.angles; return; } -- 2.39.2