From: Martin Taibr Date: Tue, 6 Nov 2018 14:01:12 +0000 (+0100) Subject: maybe fix compilation units X-Git-Tag: xonotic-v0.8.5~1258^2~55 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3305826f7ba89596fec6927dbfa32e45e6b189fd;p=xonotic%2Fxonotic-data.pk3dir.git maybe fix compilation units --- diff --git a/qcsrc/lib/vector.qh b/qcsrc/lib/vector.qh index 6a92bbea7..5c016e184 100644 --- a/qcsrc/lib/vector.qh +++ b/qcsrc/lib/vector.qh @@ -135,9 +135,9 @@ STATIC_INIT(globals) { // Same as `MAKEVECTORS` but also creates the locals for convenience. #define MAKEVECTORS_NEW(angles, forward, right, up) \ - vector forward; \ - vector right; \ - vector up; \ + vector forward = '0 0 0'; \ + vector right = '0 0 0'; \ + vector up = '0 0 0'; \ MAKEVECTORS(angles, forward, right, up); // TODO when raw makevectors and similar functions are not used anywhere else anymore,