]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add some missing parenthesis
authorMario <mario.mario@y7mail.com>
Sat, 25 Jan 2020 17:55:55 +0000 (03:55 +1000)
committerMario <mario.mario@y7mail.com>
Sat, 25 Jan 2020 17:55:55 +0000 (03:55 +1000)
qcsrc/lib/csqcmodel/interpolate.qc

index 7600fdde606f5d7a5c6733c0f2822b448140d806..831ce95e9eb34432f8082f7ad9be84ffa6166a7b 100644 (file)
@@ -48,11 +48,11 @@ void InterpolateOrigin_Note(entity this)
                this.iorigin2 = this.origin;
        }
 
-       if (this.iflags & IFLAG_AUTOANGLES
+       if ((this.iflags & IFLAG_AUTOANGLES)
            && this.iorigin2
            != this.iorigin1) this.angles = vectoangles(this.iorigin2 - this.iorigin1);
 
-       if (this.iflags & IFLAG_AUTOVELOCITY
+       if ((this.iflags & IFLAG_AUTOVELOCITY)
            && this.itime2
            != this.itime1) this.velocity = (this.iorigin2 - this.iorigin1) * (1.0 / (this.itime2 - this.itime1));