remove SetCombatRoundForAlerts that triggered every engagement

This commit is contained in:
nytmyr
2024-12-12 14:35:55 -06:00
parent a142298e34
commit d9ab4a5f27
-4
View File
@@ -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;
}