cls cleanup

This commit is contained in:
nytmyr
2024-12-20 00:44:49 -06:00
parent 21f8bc0f95
commit eaa1f67802
4 changed files with 17 additions and 18 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ bool Bot::AICastSpell(Mob* tar, uint8 iChance, uint16 spellType, uint16 subTarge
botSpell.SpellIndex = 0;
botSpell.ManaCost = 0;
if (SpellTypeRequiresLoS(spellType, botClass) && tar != this) {
if (SpellTypeRequiresLoS(spellType) && tar != this) {
SetHasLoS(DoLosChecks(this, tar));
}
else {