Core/Players: Implemented SpellShapeshiftFormFlags::StanceCancelsAtFlightmaster

This commit is contained in:
luis
2026-11-18 02:19:35 -03:00
parent a6713ba8a8
commit e611046ff8
@@ -25075,6 +25075,10 @@ bool Player::ActivateTaxiPathTo(std::vector<uint32> const& nodes, Creature* npc
// not let cheating with start flight mounted
RemoveAurasByType(SPELL_AURA_MOUNTED);
if (SpellShapeshiftFormEntry const* shapeshift = sSpellShapeshiftFormStore.LookupEntry(GetShapeshiftForm()))
if (shapeshift->GetFlags().HasFlag(SpellShapeshiftFormFlags::StanceCancelsAtFlightmaster))
RemoveAurasByType(SPELL_AURA_MOD_SHAPESHIFT);
if (GetDisplayId() != GetNativeDisplayId())
RestoreDisplayId(true);