aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index d4f2de45931..d695cc01662 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -14744,6 +14744,8 @@ void Unit::EnterVehicle(Vehicle *vehicle, int8 seatId)
{
((Player*)this)->StopCastingCharm();
((Player*)this)->StopCastingBindSight();
+ ((Player*)this)->Unmount();
+ ((Player*)this)->RemoveAurasByType(SPELL_AURA_MOUNTED);
}
assert(!m_vehicle);