*Fix another crash in AuraEffect::HandleAuraFeatherFall. Closes #64.
--HG-- branch : trunk
This commit is contained in:
@@ -3329,14 +3329,17 @@ void AuraEffect::HandleAuraWaterWalk(bool apply, bool Real, bool /*changeAmount*
|
|||||||
void AuraEffect::HandleAuraFeatherFall(bool apply, bool Real, bool /*changeAmount*/)
|
void AuraEffect::HandleAuraFeatherFall(bool apply, bool Real, bool /*changeAmount*/)
|
||||||
{
|
{
|
||||||
// only at real add/remove aura
|
// only at real add/remove aura
|
||||||
if(!Real)
|
if (!Real)
|
||||||
|
return;
|
||||||
|
|
||||||
|
if (!m_target)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
WorldPacket data;
|
WorldPacket data;
|
||||||
if(apply)
|
if (apply)
|
||||||
{
|
{
|
||||||
Unit* caster = GetCaster();
|
Unit* caster = GetCaster();
|
||||||
if (!caster || !m_target)
|
if (!caster)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (caster->GetGUID() == m_target->GetGUID())
|
if (caster->GetGUID() == m_target->GetGUID())
|
||||||
|
|||||||
Reference in New Issue
Block a user