Skip to content

Commit 98a38d2

Browse files
authored
Remove transforms on script taxi calls (#3217)
1 parent 29fb21c commit 98a38d2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/game/Objects/Player.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18022,8 +18022,10 @@ bool Player::ActivateTaxiPathTo(std::vector<uint32> const& nodes, Creature const
1802218022
RemoveSpellsCausingAura(SPELL_AURA_MOUNTED);
1802318023

1802418024
if (IsInDisallowedMountForm())
18025+
{
1802518026
RemoveSpellsCausingAura(SPELL_AURA_MOD_SHAPESHIFT);
18026-
18027+
RemoveSpellsCausingAura(SPELL_AURA_TRANSFORM);
18028+
}
1802718029
if (Spell* spell = GetCurrentSpell(CURRENT_GENERIC_SPELL))
1802818030
if (spell->m_spellInfo->Id != spellid)
1802918031
InterruptSpell(CURRENT_GENERIC_SPELL, false);

0 commit comments

Comments
 (0)