+#include "checkpoint.qh"
+
+#ifdef SVQC
+
/**
turret_checkpoint
**/
#define checkpoint_cache_to selected_player
*/
-.entity pathgoal;
-
/*
entity path_makeorcache(entity forwho,entity start, entity end)
{
if(this.target != "")
{
- this.enemy = find(world, targetname, this.target);
- if(this.enemy == world)
- LOG_TRACE("A turret_checkpoint faild to find its target!\n");
+ this.enemy = find(NULL, targetname, this.target);
+ if(this.enemy == NULL)
+ LOG_TRACE("A turret_checkpoint faild to find its target!");
}
//setthink(this, turret_checkpoint_think);
//this.nextthink = time + tc_acum + 0.25;
this.classname = "turret_checkpoint";
spawnfunc_turret_checkpoint(this);
}
+
+#endif