From 03adf20fe94a621f8c438a2a4582b6fd7c4724a8 Mon Sep 17 00:00:00 2001 From: KayenEQ Date: Sun, 13 Feb 2022 12:09:32 -0500 Subject: [PATCH] bot crash fix (#1993) --- zone/spells.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/zone/spells.cpp b/zone/spells.cpp index a03f05408..eeb46e3ab 100644 --- a/zone/spells.cpp +++ b/zone/spells.cpp @@ -2418,16 +2418,6 @@ bool Mob::SpellFinished(uint16 spell_id, Mob *spell_target, CastingSlot slot, ui case AECaster: case AETarget: { -#ifdef BOTS - if(IsBot()) { - bool StopLogic = false; - if(!this->CastToBot()->DoFinishedSpellAETarget(spell_id, spell_target, slot, StopLogic)) - return false; - if(StopLogic) - break; - } -#endif //BOTS - // we can't cast an AE spell without something to center it on assert(ae_center != nullptr);