aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXanadu <none@none>2010-10-17 01:31:19 +0200
committerXanadu <none@none>2010-10-17 01:31:19 +0200
commita77b8da5a9cc4ecd3632845b3e628dfbc8bddf5b (patch)
treeffe22cc153bf0ee082d96c8010056bcab2d910c9
parent4070a205d12d9990fee17e8823257fc42a163f22 (diff)
Core/Vehicles: Fixed vendors on Tundra Mammoth mount - now they are visible after mounting up.
--HG-- branch : trunk
-rwxr-xr-xsrc/server/game/Entities/Unit/Unit.cpp6
1 files changed, 3 insertions, 3 deletions
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);
}
}
}