if (!IS_DEAD(toucher))
if (toucher.triggerhealtime < time)
{
- bool is_trigger = !boolean(!this.nottargeted && this.targetname != "");
+ bool is_trigger = this.targetname == "";
if(is_trigger)
EXACTTRIGGER_TOUCH(this, toucher);
if(this.delay > 0)
.float height;
-.float nottargeted;
-#define IFTARGETED if(!this.nottargeted && this.targetname != "")
+#define IFTARGETED if(this.targetname != "")
.float lip;
#define cvar_set_normal builtin_cvar_set
.vector dropped_origin;
-.float nottargeted;
entity eliminatedPlayers;
void EliminatedPlayers_Init(float(entity) isEliminated_func);
defrag_ents = 1;
// if this is targeted, then it probably isn't a trigger
- bool is_trigger = !boolean(!this.nottargeted && this.targetname != "");
+ bool is_trigger = this.targetname == "";
if(is_trigger)
EXACTTRIGGER_INIT;