From: Mario Date: Tue, 14 Jan 2020 17:03:15 +0000 (+1000) Subject: Update the saved fields as well if there's no tick rate defined for server matched... X-Git-Tag: xonotic-v0.8.5~1105^2~9 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=581c4b10c5aa5dae3f9c3240e9e4ee41c9b22d2a;p=xonotic%2Fxonotic-data.pk3dir.git 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 --- diff --git a/qcsrc/common/physics/movetypes/movetypes.qc b/qcsrc/common/physics/movetypes/movetypes.qc index bbd86d62e..9d32cf3d5 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; }