bool autocvar_debugdraw;
#ifdef CSQC
+ string autocvar_debugdraw_filter;
.int debugdraw_last;
vector project_3d_to_2d(vector vec);
void Debug_Draw()
if (e.debugdraw_last == debugdraw_frame) continue;
e.debugdraw_last = debugdraw_frame;
vector rgb = (e.debug) ? '0 0 1' : '1 0 0';
+ if (autocvar_debugdraw_filter != "" && !strhasword(autocvar_debugdraw_filter, e.classname)) continue;
if (is_pure(e))
{
if (autocvar_debugdraw < 2) continue;