From 8094352eaad8a78d0d2c50335a0bb192bc3d11b4 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 d6f800f71..058280700 100644 --- a/zone/bot.cpp +++ b/zone/bot.cpp @@ -2887,10 +2887,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; }