diff options
| author | QAston <none@none> | 2009-04-07 01:27:05 +0200 |
|---|---|---|
| committer | QAston <none@none> | 2009-04-07 01:27:05 +0200 |
| commit | 51f53fdc0c98ed8814a649cf2b82aef9d5392416 (patch) | |
| tree | 76c789a69c0b7d9974fc3df24ef9b6f6fbe57281 /src/game/SpellEffects.cpp | |
| parent | 9b908e4014de8d4ef428c74f94c480405160cfa7 (diff) | |
*Try to make judgement of light not teleport caster.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
| -rw-r--r-- | src/game/SpellEffects.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 54bee661408..3408216cd14 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) |
