diff --git a/src/PlayerbotAI.cpp b/src/PlayerbotAI.cpp index 9e5ed5a5..b2c35166 100644 --- a/src/PlayerbotAI.cpp +++ b/src/PlayerbotAI.cpp @@ -314,6 +314,8 @@ void PlayerbotAI::UpdateAI(uint32 elapsed, bool minimal) AllowActivity(); Spell* currentSpell = bot->GetCurrentSpell(CURRENT_GENERIC_SPELL); + if (!currentSpell) + currentSpell = bot->GetCurrentSpell(CURRENT_CHANNELED_SPELL); if (currentSpell && currentSpell->getState() == SPELL_STATE_PREPARING) { if (currentSpell->m_targets.GetUnitTarget() && !currentSpell->m_targets.GetUnitTarget()->IsAlive() &&