mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-05 20:13:48 +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)
|
if (m_entryPointData.mountSpell)
|
||||||
{
|
{
|
||||||
// xinef: remove shapeshift auras
|
// xinef: remove shapeshift auras
|
||||||
RemoveAurasByType(SPELL_AURA_MOD_SHAPESHIFT);
|
if (IsInDisallowedMountForm())
|
||||||
|
{
|
||||||
|
RemoveAurasByType(SPELL_AURA_MOD_SHAPESHIFT);
|
||||||
|
}
|
||||||
AddAura(m_entryPointData.mountSpell, this);
|
AddAura(m_entryPointData.mountSpell, this);
|
||||||
m_entryPointData.mountSpell = 0;
|
m_entryPointData.mountSpell = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user