Fix vehicle stacking (no more pyramids for you!)

--HG--
branch : trunk
This commit is contained in:
click
2010-04-10 01:53:44 +02:00
parent 4e76d35a4b
commit 1f11f02221
+1
View File
@@ -15835,6 +15835,7 @@ void Unit::EnterVehicle(Vehicle *vehicle, int8 seatId)
if (GetTypeId() == TYPEID_PLAYER) if (GetTypeId() == TYPEID_PLAYER)
{ {
this->ToPlayer()->InterruptNonMeleeSpells(false);
this->ToPlayer()->StopCastingCharm(); this->ToPlayer()->StopCastingCharm();
this->ToPlayer()->StopCastingBindSight(); this->ToPlayer()->StopCastingBindSight();
this->ToPlayer()->Unmount(); this->ToPlayer()->Unmount();