Core/Vehicles: Fixed vendors on Tundra Mammoth mount - now they are visible after mounting up.

--HG--
branch : trunk
This commit is contained in:
Xanadu
2010-10-17 01:31:19 +02:00
parent 4070a205d1
commit a77b8da5a9

View File

@@ -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);
}
}
}