From: Martin Taibr Date: Thu, 15 Nov 2018 09:13:55 +0000 (+0100) Subject: deglob csqcmodel X-Git-Tag: xonotic-v0.8.5~1258^2~24 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8e2c57c88647d3ca3a7d5edf06ed5d7d1dc67f80;p=xonotic%2Fxonotic-data.pk3dir.git deglob csqcmodel --- diff --git a/qcsrc/lib/csqcmodel/interpolate.qc b/qcsrc/lib/csqcmodel/interpolate.qc index 4fd138360..b58158fbf 100644 --- a/qcsrc/lib/csqcmodel/interpolate.qc +++ b/qcsrc/lib/csqcmodel/interpolate.qc @@ -58,7 +58,7 @@ void InterpolateOrigin_Note(entity this) if (this.iflags & IFLAG_ANGLES) { - fixedmakevectors(this.angles); + FIXED_MAKE_VECTORS_NEW(this.angles, forward, right, up); if (f0 & IFLAG_VALID) { this.iforward1 = this.iforward2; @@ -66,16 +66,16 @@ void InterpolateOrigin_Note(entity this) } else { - this.iforward1 = v_forward; - this.iup1 = v_up; + this.iforward1 = forward; + this.iup1 = up; } - this.iforward2 = v_forward; - this.iup2 = v_up; + this.iforward2 = forward; + this.iup2 = up; } if (this.iflags & IFLAG_V_ANGLE) { - fixedmakevectors(this.v_angle); + FIXED_MAKE_VECTORS_NEW(this.v_angle, forward, right, up); if (f0 & IFLAG_VALID) { this.ivforward1 = this.ivforward2; @@ -83,11 +83,11 @@ void InterpolateOrigin_Note(entity this) } else { - this.ivforward1 = v_forward; - this.ivup1 = v_up; + this.ivforward1 = forward; + this.ivup1 = up; } - this.ivforward2 = v_forward; - this.ivup2 = v_up; + this.ivforward2 = forward; + this.ivup2 = up; } else if (this.iflags & IFLAG_V_ANGLE_X) {