X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fpathlib%2Fdebug.qc;h=1da4fc0493a1ff4238fce60eafc50ffb5e651af1;hp=4f73b24733bcbf75714a07a33db840cb4e9bc8b6;hb=ef74e1ba8e890befb4a4892a96d244a66c05fd48;hpb=cd109cf922bc405155c680582745d645bd057ded diff --git a/qcsrc/server/pathlib/debug.qc b/qcsrc/server/pathlib/debug.qc index 4f73b2473..1da4fc049 100644 --- a/qcsrc/server/pathlib/debug.qc +++ b/qcsrc/server/pathlib/debug.qc @@ -1,3 +1,4 @@ +#include "../pathlib.qh" #ifdef TURRET_DEBUG void mark_error(vector where,float lifetime); @@ -17,13 +18,13 @@ void pathlib_showpath(entity start) } void path_dbg_think() -{ +{SELFPARAM(); pathlib_showpath(self); self.nextthink = time + 1; } void __showpath2_think() -{ +{SELFPARAM(); #ifdef TURRET_DEBUG mark_info(self.origin,1); #endif @@ -65,6 +66,8 @@ void pathlib_showsquare2(entity node ,vector ncolor,float align) } } +void SUB_Remove(); + void pathlib_showsquare(vector where,float goodsquare,float _lifetime) { entity s;