diff options
author | Machiavelli <none@none> | 2009-11-04 22:22:45 +0100 |
---|---|---|
committer | Machiavelli <none@none> | 2009-11-04 22:22:45 +0100 |
commit | 2b42311f2c1ca3dccf00a62aa21c6534b96fc49e (patch) | |
tree | 916cacfe48603b1d4ace3ed2400d25327124ac20 | |
parent | 880d5a6d13b32dd49f713001a46fa41272735e08 (diff) |
Fix a crash in AuraEffect::HandleAuraFeatherFall. Fixes #63, fixes #52
--HG--
branch : trunk
-rw-r--r-- | src/game/SpellAuras.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index e60717ac999..89d19956597 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -3336,6 +3336,8 @@ void AuraEffect::HandleAuraFeatherFall(bool apply, bool Real, bool /*changeAmoun if(apply) { Unit* caster = GetCaster(); + if (!caster || !m_target) + return; if (caster->GetGUID() == m_target->GetGUID()) { |