From: Martin Taibr Date: Fri, 30 Nov 2018 20:42:41 +0000 (+0100) Subject: remove semicolons X-Git-Tag: xonotic-v0.8.5~1258^2~7 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1883d3d72ddf777703b77424b33e4428777bef43;p=xonotic%2Fxonotic-data.pk3dir.git remove semicolons --- diff --git a/qcsrc/lib/deglobalization.qh b/qcsrc/lib/deglobalization.qh index 889998057..fb4512653 100644 --- a/qcsrc/lib/deglobalization.qh +++ b/qcsrc/lib/deglobalization.qh @@ -15,8 +15,8 @@ // - this is the only used function that both sets and gets the globals (aim does too but isn't used in our code) #define NEW_VECS(...) EVAL(OVERLOAD(NEW_VECS, __VA_ARGS__)) -#define NEW_VECS_3(forward, right, up) vector forward = '0 0 0'; vector right = '0 0 0'; vector up = '0 0 0'; -#define NEW_VECS_4(forward, right, up, origin) NEW_VECS_3(forward, right, up); vector origin = '0 0 0'; +#define NEW_VECS_3(forward, right, up) vector forward = '0 0 0'; vector right = '0 0 0'; vector up = '0 0 0' +#define NEW_VECS_4(forward, right, up, origin) NEW_VECS_3(forward, right, up); vector origin = '0 0 0' // convenience for deglobalized code - don't use these just to hide that globals are still used #define CLEAR_V_GLOBALS() v_forward = VEC_NAN; v_right = VEC_NAN; v_up = VEC_NAN;