code cleanup 4

This commit is contained in:
nytmyr
2025-01-10 12:23:40 -06:00
parent 90e95572fd
commit f34a9470a8
11 changed files with 72 additions and 72 deletions
+1 -1
View File
@@ -9562,7 +9562,7 @@ bool Bot::CastChecks(uint16 spell_id, Mob* tar, uint16 spell_type, bool precheck
return false;
}
if (!AECheck && !IsValidSpellRange(spell_id, tar)) {
if (!ae_check && !IsValidSpellRange(spell_id, tar)) {
LogBotPreChecksDetail("{} says, 'Cancelling cast of {} on {} due to IsValidSpellRange.'", GetCleanName(), GetSpellName(spell_id), tar->GetCleanName());
return false;
}