*Try to make judgement of light not teleport caster.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-04-07 01:27:05 +02:00
parent 9b908e4014
commit 51f53fdc0c
+2 -2
View File
@@ -4922,10 +4922,10 @@ void Spell::EffectScriptEffect(uint32 effIndex)
// search seal (all seals have judgement's aura dummy spell id in 2 effect // search seal (all seals have judgement's aura dummy spell id in 2 effect
if ((*itr)->GetEffIndex() != 2 || !spellInfo || !IsSealSpell(spellInfo)) if ((*itr)->GetEffIndex() != 2 || !spellInfo || !IsSealSpell(spellInfo))
continue; continue;
spellId2 = (*itr)->GetAmount(); SpellEntry const *judge = sSpellStore.LookupEntry((*itr)->GetAmount());
SpellEntry const *judge = sSpellStore.LookupEntry(spellId2);
if (!judge) if (!judge)
continue; continue;
spellId2 = (*itr)->GetAmount();
break; break;
} }
if (spellId1) if (spellId1)