From: Mario Date: Thu, 7 Mar 2013 16:06:42 +0000 (+1100) Subject: Fix butcher command not removing monster weapons X-Git-Tag: xonotic-v0.8.0~241^2^2~458 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ab39b802ae5cebc29c8cfac7459607c056b65e73;p=xonotic%2Fxonotic-data.pk3dir.git Fix butcher command not removing monster weapons --- diff --git a/qcsrc/server/command/sv_cmd.qc b/qcsrc/server/command/sv_cmd.qc index 941b2a23e..2a967151d 100644 --- a/qcsrc/server/command/sv_cmd.qc +++ b/qcsrc/server/command/sv_cmd.qc @@ -153,6 +153,9 @@ void GameCommand_butcher(float request) FOR_EACH_MONSTER(montokill) { WaypointSprite_Kill(montokill.sprite); + + if(montokill.weaponentity) + remove(montokill.weaponentity); remove(montokill); removed_count += 1;