X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fmutators%2Fmutator%2Fgamemode_assault.qc;h=8c9a01e27ce5f8bf80aa68a18e4de3c8cbbf2082;hb=fb7b625a2f9482eb9ae538f15d172b2fcb9742dc;hp=d5685ca443f0cceacebd429314bf54118477482b;hpb=da8bf18830fc6ce2af0787e6d326606985b3ad2b;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/mutators/mutator/gamemode_assault.qc b/qcsrc/server/mutators/mutator/gamemode_assault.qc index d5685ca44..8c9a01e27 100644 --- a/qcsrc/server/mutators/mutator/gamemode_assault.qc +++ b/qcsrc/server/mutators/mutator/gamemode_assault.qc @@ -148,13 +148,13 @@ void assault_setenemytoobjective(entity this) 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) @@ -224,8 +224,8 @@ void assault_roundstart_use(entity this, entity actor, entity trigger) 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)