#pragma once
+#ifdef CSQC
+.entity tag_entity;
+#endif
+
#ifndef MENUQC
.bool debug;
.int sv_entnum;
if (pos.z < 0) continue;
pos.z = 0;
pos.y += ofs * sz;
- drawcolorcodedstring2(pos,
+ drawcolorcodedstring2_builtin(pos,
sprintf("%d: '%s'@%s", (it.debug ? it.sv_entnum : etof(it)),
it.classname, it.sourceLoc),
sz * '1 1 0', rgb, 0.5, DRAWFLAG_NORMAL);
it.solid_prev = it.solid;
it.solid = SOLID_BBOX;
});
- vector forward; vector right; vector up;
+ vector forward = '0 0 0'; vector right = '0 0 0'; vector up = '0 0 0';
MAKEVECTORS(makevectors, it.v_angle, forward, right, up);
vector pos = it.origin + it.view_ofs;
traceline(pos, pos + forward * MAX_SHOT_DISTANCE, MOVE_NORMAL, it);