]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/triggers.qh
Improve QCC compatibility
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / triggers.qh
index bc4047fe93785fb194e91b3f257adaf755283ace..49cd7be7c252bc74cc106a436c71034bc5dd8843 100644 (file)
@@ -14,8 +14,7 @@ const float   SPAWNFLAG_NOTOUCH = 1;
 
 .float height;
 
-.float nottargeted;
-#define IFTARGETED if(!this.nottargeted && this.targetname != "")
+#define IFTARGETED if(this.targetname && this.targetname != "")
 
 .float lip;
 
@@ -28,8 +27,6 @@ string trigger_magicear_processmessage_forallears(entity source, float teamsay,
 void target_voicescript_next(entity pl);
 void target_voicescript_clear(entity pl);
 
-void SUB_ForEachTarget_Init();
-void SUB_ForEachTarget(entity s, void(entity, float, vector, string, entity) cback, float recursive, float fdata, vector vdata, string sdata, entity edata);
 void SUB_UseTargets_PreventReuse(entity this, entity actor, entity trigger);
 #endif