fix(Core/Player): Remove mount aura on a flight (#7976)

This commit is contained in:
IntelligentQuantum 2021-09-21 01:26:01 +04:30 committed by GitHub
parent 47bb5cbb43
commit 73bac1777c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9712,6 +9712,11 @@ void Player::ContinueTaxiFlight()
RemoveAurasByType(SPELL_AURA_MOD_SHAPESHIFT);
}
if (IsMounted())
{
RemoveAurasByType(SPELL_AURA_MOUNTED);
}
GetSession()->SendDoFlight(mountDisplayId, path, startNode);
}