From: terencehill Date: Fri, 6 Jan 2012 15:06:37 +0000 (+0100) Subject: If an item is trying to respawn when the warmup stage ends remove its waypoint X-Git-Tag: xonotic-v0.6.0~42^2~5^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=89cc5b3274a190460a77cc03083e3fb7c532b19a;p=xonotic%2Fxonotic-data.pk3dir.git If an item is trying to respawn when the warmup stage ends remove its waypoint --- diff --git a/qcsrc/server/t_items.qc b/qcsrc/server/t_items.qc index 79c39ae95..c507581de 100644 --- a/qcsrc/server/t_items.qc +++ b/qcsrc/server/t_items.qc @@ -566,6 +566,9 @@ void Item_Reset() self.think = SUB_Null; self.nextthink = 0; + if(self.waypointsprite_attached) + WaypointSprite_Kill(self.waypointsprite_attached); + if(self.flags & FL_POWERUP) // do not spawn powerups initially! Item_ScheduleInitialRespawn(self); }