diff options
| author | QAston <none@none> | 2009-06-06 15:58:50 +0200 |
|---|---|---|
| committer | QAston <none@none> | 2009-06-06 15:58:50 +0200 |
| commit | cd98b1eeca41e6df7746c870538061c943f3b829 (patch) | |
| tree | 867bb22b4bc85a4d4d13fe20943e39925ea7672f /src/game/SpellAuras.cpp | |
| parent | 373867b56b4cb870bd6648397631b64665f4b9b5 (diff) | |
*Fix scourge strike damage- original patch by Roland.
*Remove duplicate code for judgement of wisdom
*Correctly count diseases for death strike
*Fix a crash.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
| -rw-r--r-- | src/game/SpellAuras.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index f086175987e..c87fc9b89fc 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -677,9 +677,11 @@ void Aura::Update(uint32 diff) if (IS_PLAYER_GUID(GetCasterGUID())) { caster = GetCaster(); - modSpell = ((Player*)caster)->FindCurrentSpellBySpellId(GetId()); if (caster) + { + modSpell = ((Player*)caster)->FindCurrentSpellBySpellId(GetId()); ((Player*)caster)->SetSpellModTakingSpell(modSpell, true); + } } for (uint8 i = 0; i < MAX_SPELL_EFFECTS; ++i) if (m_partAuras[i]) |
