From 9920e3f4735bc5ce5190b4ecd2c63e7bc1e7a346 Mon Sep 17 00:00:00 2001 From: terencehill Date: Sat, 22 Aug 2015 23:02:04 +0200 Subject: [PATCH] Fix the previous fix! --- qcsrc/server/bot/havocbot/havocbot.qc | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.39.2