From 23a69889eeb1b2ee89cb93a405b9ec08180aafa9 Mon Sep 17 00:00:00 2001 From: Samual Lenks Date: Thu, 26 Dec 2013 20:28:13 -0500 Subject: [PATCH] Fix issues with FL2VEC --- qcsrc/client/View.qc | 1 - qcsrc/common/util.qh | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc index 49cf1d38c..89b84e370 100644 --- a/qcsrc/client/View.qc +++ b/qcsrc/client/View.qc @@ -566,7 +566,6 @@ void CSQC_UpdateView(float w, float h) if(autocvar_cl_orthoview) { #define ORTHO_ACCURACY 512 // x^2 resolution accuracy for evaluating fov scaling and distance - #define FL2VEC(x,y,z) (('1 0 0' * x) + ('0 1 0' * y) + ('0 0 1' * z)) ov_worldmin = mi_picmin; ov_worldmax = mi_picmax; diff --git a/qcsrc/common/util.qh b/qcsrc/common/util.qh index a9f9095c7..184cdec34 100644 --- a/qcsrc/common/util.qh +++ b/qcsrc/common/util.qh @@ -430,3 +430,6 @@ void dedicated_print(string input); #define CNT_ROUNDSTART 6 float Announcer_PickNumber(float type, float num); #endif + +// TODO: Replace this with new gmqcc syntax when available +#define FL2VEC(x,y,z) ((eX * (x)) + (eY * (y)) + (eZ * (z))) -- 2.39.2