fix(Core/Spells): do not remove stances when teleported from Instance/BG (#7469)
- Closes #7402
This commit is contained in:
parent
c28d6ee992
commit
032ca32a04
1 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue