From 913039845d293e7268c4b28761ba4dd588c4e077 Mon Sep 17 00:00:00 2001 From: bash Date: Thu, 9 Oct 2025 01:45:58 +0200 Subject: [PATCH] changed a comment of the early return check --- src/PlayerbotAI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PlayerbotAI.cpp b/src/PlayerbotAI.cpp index b19f4f2a..d108c415 100644 --- a/src/PlayerbotAI.cpp +++ b/src/PlayerbotAI.cpp @@ -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())))