From d9ab4a5f2786625fea969b92414f0d229f28bdbc Mon Sep 17 00:00:00 2001 From: nytmyr <53322305+nytmyr@users.noreply.github.com> Date: Thu, 12 Dec 2024 14:35:55 -0600 Subject: [PATCH] remove SetCombatRoundForAlerts that triggered every engagement --- zone/bot.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/zone/bot.cpp b/zone/bot.cpp index 9a498bc08..97e097827 100644 --- a/zone/bot.cpp +++ b/zone/bot.cpp @@ -2885,10 +2885,6 @@ void Bot::CheckCombatRange(Mob* tar, float tar_distance, bool& atCombatRange, bo // Calculate melee distances CalcMeleeDistances(tar, p_item, s_item, backstab_weapon, behindMob, melee_distance_min, melee_distance, melee_distance_max, stopMeleeLevel); - if (!GetCombatRoundForAlerts()) { - SetCombatRoundForAlerts(); - } - if (tar_distance <= melee_distance) { atCombatRange = true; }