X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fturrets%2Fcheckpoint.qc;h=f5ba71477982d4ec6b727d1312aaf36633269a1c;hb=e87123e5fba23f7a8907e6fbab241c5eec5be168;hp=dc48fd1156bacf3c114c23dd04740ee5726d4921;hpb=3220cab5a7b69ced4a641504a6a5f4eccf2d3bfc;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/turrets/checkpoint.qc b/qcsrc/common/turrets/checkpoint.qc index dc48fd115..f5ba71477 100644 --- a/qcsrc/common/turrets/checkpoint.qc +++ b/qcsrc/common/turrets/checkpoint.qc @@ -1,3 +1,7 @@ +#include "checkpoint.qh" + +#ifdef SVQC + /** turret_checkpoint **/ @@ -11,8 +15,6 @@ #define checkpoint_cache_to selected_player */ -.entity pathgoal; - /* entity path_makeorcache(entity forwho,entity start, entity end) { @@ -56,7 +58,7 @@ void turret_checkpoint_init(entity this) { this.enemy = find(NULL, targetname, this.target); if(this.enemy == NULL) - LOG_TRACE("A turret_checkpoint faild to find its target!\n"); + LOG_TRACE("A turret_checkpoint faild to find its target!"); } //setthink(this, turret_checkpoint_think); //this.nextthink = time + tc_acum + 0.25; @@ -76,3 +78,5 @@ spawnfunc(walker_checkpoint) this.classname = "turret_checkpoint"; spawnfunc_turret_checkpoint(this); } + +#endif