diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index 445d46de9..a33e49573 100755 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -2551,7 +2551,7 @@ void ObjectMgr::LoadItemRequiredTarget() for (int j = 0; j < MAX_EFFECT_INDEX; ++j) { SpellEffectEntry const* spellEffect = pSpellInfo->GetSpellEffect(SpellEffectIndex(j)); - if(!pSpellInfo) + if(!spellEffect) continue; if (spellEffect->EffectImplicitTargetA == TARGET_CHAIN_DAMAGE ||