if(this.enemy == world)
this.enemy = objective;
else
- objerror("more than one objective as target - fix the map!");
+ objerror(this, "more than one objective as target - fix the map!");
break;
}
}
if(this.enemy == world)
- objerror("no objective as target - fix the map!");
+ objerror(this, "no objective as target - fix the map!");
}
bool assault_decreaser_sprite_visible(entity this, entity player, entity view)
else
it.team = NUM_TEAM_1;
- // Dubbles as teamchange
- WITHSELF(it, turret_respawn(it));
+ // Doubles as teamchange
+ turret_respawn(it);
));
}
void assault_roundstart_use_this(entity this)