mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-09 08:17:56 +00:00
fix(Core/Player): Remove mount aura on a flight (#7976)
This commit is contained in:
committed by
GitHub
parent
47bb5cbb43
commit
73bac1777c
@@ -9712,6 +9712,11 @@ void Player::ContinueTaxiFlight()
|
|||||||
RemoveAurasByType(SPELL_AURA_MOD_SHAPESHIFT);
|
RemoveAurasByType(SPELL_AURA_MOD_SHAPESHIFT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (IsMounted())
|
||||||
|
{
|
||||||
|
RemoveAurasByType(SPELL_AURA_MOUNTED);
|
||||||
|
}
|
||||||
|
|
||||||
GetSession()->SendDoFlight(mountDisplayId, path, startNode);
|
GetSession()->SendDoFlight(mountDisplayId, path, startNode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user