mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 01:59:09 +00:00
fix(Core/Spells): do not remove stances when teleported from Instance/BG (#7469)
- Closes #7402
This commit is contained in:
@@ -1586,7 +1586,10 @@ void Player::ProcessDelayedOperations()
|
||||
if (m_entryPointData.mountSpell)
|
||||
{
|
||||
// xinef: remove shapeshift auras
|
||||
RemoveAurasByType(SPELL_AURA_MOD_SHAPESHIFT);
|
||||
if (IsInDisallowedMountForm())
|
||||
{
|
||||
RemoveAurasByType(SPELL_AURA_MOD_SHAPESHIFT);
|
||||
}
|
||||
AddAura(m_entryPointData.mountSpell, this);
|
||||
m_entryPointData.mountSpell = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user