From: Mario Date: Wed, 27 Feb 2013 11:33:19 +0000 (+1100) Subject: Also kill barricade's waypoint sprite if it died X-Git-Tag: xonotic-v0.8.0~241^2^2~502 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c07c6c693439fa4afc18a76ef85d2da81e8dd8b4;p=xonotic%2Fxonotic-data.pk3dir.git Also kill barricade's waypoint sprite if it died --- diff --git a/qcsrc/server/mutators/gamemode_td.qc b/qcsrc/server/mutators/gamemode_td.qc index ca1168b21..b3bce3e89 100644 --- a/qcsrc/server/mutators/gamemode_td.qc +++ b/qcsrc/server/mutators/gamemode_td.qc @@ -238,6 +238,8 @@ void barricade_die() self.takedamage = DAMAGE_NO; self.event_damage = func_null; + WaypointSprite_Kill(self.sprite); + pointparticles(particleeffectnum("explosion_medium"), self.origin, '0 0 0', 1); sound(self, CH_SHOTS, "weapons/rocket_impact.wav", VOL_BASE, ATTN_NORM);