From 51f53fdc0c98ed8814a649cf2b82aef9d5392416 Mon Sep 17 00:00:00 2001 From: QAston Date: Tue, 7 Apr 2009 01:27:05 +0200 Subject: [PATCH] *Try to make judgement of light not teleport caster. --HG-- branch : trunk --- src/game/SpellEffects.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 54bee66140..3408216cd1 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -4922,10 +4922,10 @@ void Spell::EffectScriptEffect(uint32 effIndex) // search seal (all seals have judgement's aura dummy spell id in 2 effect if ((*itr)->GetEffIndex() != 2 || !spellInfo || !IsSealSpell(spellInfo)) continue; - spellId2 = (*itr)->GetAmount(); - SpellEntry const *judge = sSpellStore.LookupEntry(spellId2); + SpellEntry const *judge = sSpellStore.LookupEntry((*itr)->GetAmount()); if (!judge) continue; + spellId2 = (*itr)->GetAmount(); break; } if (spellId1)