From 8e2c57c88647d3ca3a7d5edf06ed5d7d1dc67f80 Mon Sep 17 00:00:00 2001 From: Martin Taibr Date: Thu, 15 Nov 2018 10:13:55 +0100 Subject: [PATCH] deglob csqcmodel --- qcsrc/lib/csqcmodel/interpolate.qc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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) { -- 2.39.2