mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
*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*/)
|
||||
{
|
||||
// only at real add/remove aura
|
||||
if(!Real)
|
||||
if (!Real)
|
||||
return;
|
||||
|
||||
if (!m_target)
|
||||
return;
|
||||
|
||||
WorldPacket data;
|
||||
if(apply)
|
||||
if (apply)
|
||||
{
|
||||
Unit* caster = GetCaster();
|
||||
if (!caster || !m_target)
|
||||
if (!caster)
|
||||
return;
|
||||
|
||||
if (caster->GetGUID() == m_target->GetGUID())
|
||||
|
||||
Reference in New Issue
Block a user