mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 02:11:30 +00:00
bot crash fix (#1993)
This commit is contained in:
parent
dd6cde68bb
commit
03adf20fe9
@ -2418,16 +2418,6 @@ bool Mob::SpellFinished(uint16 spell_id, Mob *spell_target, CastingSlot slot, ui
|
|||||||
case AECaster:
|
case AECaster:
|
||||||
case AETarget:
|
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
|
// we can't cast an AE spell without something to center it on
|
||||||
assert(ae_center != nullptr);
|
assert(ae_center != nullptr);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user