From: terencehill Date: Sat, 22 Aug 2015 21:02:04 +0000 (+0200) Subject: Fix the previous fix! X-Git-Tag: xonotic-v0.8.2~1891^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9920e3f4735bc5ce5190b4ecd2c63e7bc1e7a346;p=xonotic%2Fxonotic-data.pk3dir.git Fix the previous fix! --- diff --git a/qcsrc/server/bot/havocbot/havocbot.qc b/qcsrc/server/bot/havocbot/havocbot.qc index b36c79830..ee7b54934 100644 --- a/qcsrc/server/bot/havocbot/havocbot.qc +++ b/qcsrc/server/bot/havocbot/havocbot.qc @@ -921,13 +921,17 @@ void havocbot_chooseenemy() if(head.classname == "misc_breakablemodel") { have_secondary_targets = true; + head = head.chain; continue; } } else { if(head.classname != "misc_breakablemodel") + { + head = head.chain; continue; + } } v = (head.absmin + head.absmax) * 0.5;