From d11e2410bf444b0cb4feed06398f24c73601ed7a Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Mon, 3 Jul 2017 17:46:16 -0400 Subject: [PATCH] Don't need the center check anymore --- zone/effects.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/zone/effects.cpp b/zone/effects.cpp index 95eb44ac8..adc7b16b2 100644 --- a/zone/effects.cpp +++ b/zone/effects.cpp @@ -730,8 +730,6 @@ void EntityList::AESpell(Mob *caster, Mob *center, uint16 spell_id, bool affect_ // test to fix possible cause of random zone crashes..external methods accessing client properties before they're initialized if (curmob->IsClient() && !curmob->CastToClient()->ClientFinishedLoading()) continue; - if (curmob == center) //do not affect center - continue; if (curmob == caster && !affect_caster) //watch for caster too continue; if (spells[spell_id].targettype == ST_TargetAENoPlayersPets && curmob->IsPetOwnerClient())