aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorclick <none@none>2010-04-10 01:53:44 +0200
committerclick <none@none>2010-04-10 01:53:44 +0200
commit1f11f02221dc986036bd9d15c15fee1c7cc661f0 (patch)
treeeec44aa6a50ca5064a657224a5b26af30a0ba492 /src/game/Unit.cpp
parent4e76d35a4b482d23ca44971e1df4b2503b08e317 (diff)
Fix vehicle stacking (no more pyramids for you!)
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 88a6ddf59b6..ef4d0994b70 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -15835,6 +15835,7 @@ void Unit::EnterVehicle(Vehicle *vehicle, int8 seatId)
if (GetTypeId() == TYPEID_PLAYER)
{
+ this->ToPlayer()->InterruptNonMeleeSpells(false);
this->ToPlayer()->StopCastingCharm();
this->ToPlayer()->StopCastingBindSight();
this->ToPlayer()->Unmount();