Fix a crash in AuraEffect::HandleAuraFeatherFall. Fixes #63, fixes #52

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2009-11-04 22:22:45 +01:00
parent 880d5a6d13
commit 2b42311f2c

View File

@@ -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())
{