]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Update the saved fields as well if there's no tick rate defined for server matched...
authorMario <mario.mario@y7mail.com>
Tue, 14 Jan 2020 17:03:15 +0000 (03:03 +1000)
committerMario <mario.mario@y7mail.com>
Tue, 14 Jan 2020 17:03:15 +0000 (03:03 +1000)
qcsrc/common/physics/movetypes/movetypes.qc

index bbd86d62e3f0a25074751573f0322b9341f17fa6..9d32cf3d5bb8347fd40c2eecdadf33d23f5b4429 100644 (file)
@@ -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;
        }