]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/csqcmodel/interpolate.qc
declare vars explicitly
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / csqcmodel / interpolate.qc
index b58158fbfeae2870f2fb84329e0dcc606ffc6047..7600fdde606f5d7a5c6733c0f2822b448140d806 100644 (file)
@@ -58,7 +58,8 @@ void InterpolateOrigin_Note(entity this)
 
        if (this.iflags & IFLAG_ANGLES)
        {
-               FIXED_MAKE_VECTORS_NEW(this.angles, forward, right, up);
+               vector forward, right, up;
+               FIXED_MAKE_VECTORS(this.angles, forward, right, up);
                if (f0 & IFLAG_VALID)
                {
                        this.iforward1 = this.iforward2;
@@ -75,7 +76,8 @@ void InterpolateOrigin_Note(entity this)
 
        if (this.iflags & IFLAG_V_ANGLE)
        {
-               FIXED_MAKE_VECTORS_NEW(this.v_angle, forward, right, up);
+               vector forward, right, up;
+               FIXED_MAKE_VECTORS(this.v_angle, forward, right, up);
                if (f0 & IFLAG_VALID)
                {
                        this.ivforward1 = this.ivforward2;