changed a comment of the early return check

This commit is contained in:
bash
2025-10-09 01:45:58 +02:00
parent 41b6e70857
commit 913039845d

View File

@@ -3498,7 +3498,7 @@ bool PlayerbotAI::CastSpell(uint32 spellId, Unit* target, Item* itemTarget)
// return false;
// check bot/target world-state just before preparing the actual spel
// check bot/target world-state just before preparing the actual spell
Unit* unitTarget = targets.GetUnitTarget();
if (!bot->IsInWorld() || bot->IsDuringRemoveFromWorld() ||
(unitTarget && (!unitTarget->IsInWorld() || unitTarget->IsDuringRemoveFromWorld())))