From a2bc73c255117aef7ee5ea00f67a958b255372b2 Mon Sep 17 00:00:00 2001 From: megamage Date: Mon, 17 Aug 2009 16:23:26 -0500 Subject: [8375] Update start fall height at lost SPELL_AURA_FEATHER_FALL. Author: Lutik --HG-- branch : trunk --- src/game/SpellAuras.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index cf90d2cc915..9cb21c0a2c4 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -3178,8 +3178,12 @@ void AuraEffect::HandleAuraFeatherFall(bool apply, bool Real, bool /*changeAmoun else data.Initialize(SMSG_MOVE_NORMAL_FALL, 8+4); data.append(m_target->GetPackGUID()); - data << (uint32)0; - m_target->SendMessageToSet(&data,true); + data << uint32(0); + m_target->SendMessageToSet(&data, true); + + // start fall from current height + if(!apply && m_target->GetTypeId() == TYPEID_PLAYER) + ((Player*)m_target)->SetFallInformation(0, m_target->GetPositionZ()); } void AuraEffect::HandleAuraHover(bool apply, bool Real, bool /*changeAmount*/) -- cgit v1.2.3