From b4a36b41c849804b6a56ee0c56bac5e42edfac44 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 24 Jan 2013 00:34:12 +1100 Subject: [PATCH] Fix monster waypoint not getting removed with the monster if it was killed after the wave finished --- qcsrc/server/mutators/gamemode_td.qc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcsrc/server/mutators/gamemode_td.qc b/qcsrc/server/mutators/gamemode_td.qc index fb859a6f8..0c9eeb301 100644 --- a/qcsrc/server/mutators/gamemode_td.qc +++ b/qcsrc/server/mutators/gamemode_td.qc @@ -532,6 +532,8 @@ void build_phase() if(head.health <= 0) continue; print(strcat("Warning: Monster still alive during build phase! Monster name: ", head.netname, "\n")); + if(head.sprite) + WaypointSprite_Kill(head.sprite); remove(head); } -- 2.39.2