[8375] Update start fall height at lost SPELL_AURA_FEATHER_FALL.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Lutik 2009-08-16 10:51:29 +04:00 committed by VladimirMangos
parent 4b644a57a4
commit 935d47978f
2 changed files with 5 additions and 1 deletions

View file

@ -2628,6 +2628,10 @@ void Aura::HandleAuraFeatherFall(bool apply, bool Real)
data.append(m_target->GetPackGUID());
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 Aura::HandleAuraHover(bool apply, bool Real)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "8374"
#define REVISION_NR "8375"
#endif // __REVISION_NR_H__