From a77b8da5a9cc4ecd3632845b3e628dfbc8bddf5b Mon Sep 17 00:00:00 2001 From: Xanadu Date: Sun, 17 Oct 2010 01:31:19 +0200 Subject: Core/Vehicles: Fixed vendors on Tundra Mammoth mount - now they are visible after mounting up. --HG-- branch : trunk --- src/server/game/Entities/Unit/Unit.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index f4d3346145b..6c1ca283e3a 100755 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -11720,9 +11720,6 @@ void Unit::Mount(uint32 mount, uint32 VehicleId, uint32 creatureEntry) { GetVehicleKit()->Reset(); - // mounts can also have accessories - GetVehicleKit()->InstallAllAccessories(creatureEntry); - // Send others that we now have a vehicle WorldPacket data(SMSG_PLAYER_VEHICLE_DATA, GetPackGUID().size()+4); data.appendPackGUID(GetGUID()); @@ -11731,6 +11728,9 @@ void Unit::Mount(uint32 mount, uint32 VehicleId, uint32 creatureEntry) data.Initialize(SMSG_ON_CANCEL_EXPECTED_RIDE_VEHICLE_AURA, 0); plr->GetSession()->SendPacket(&data); + + // mounts can also have accessories + GetVehicleKit()->InstallAllAccessories(creatureEntry); } } } -- cgit v1.2.3