mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10:37:03 +00:00
Fix typo/crash on server startup Thanks Zakamurite
Signed-off-by: Salja <salja2012@hotmail.de>
This commit is contained in:
parent
936404c101
commit
d8a2700179
1 changed files with 1 additions and 1 deletions
|
|
@ -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 ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue