Core/Vehicles: Fixed vendors on Tundra Mammoth mount - now they are visible after mounting up.
--HG-- branch : trunk
This commit is contained in:
@@ -11720,9 +11720,6 @@ void Unit::Mount(uint32 mount, uint32 VehicleId, uint32 creatureEntry)
|
|||||||
{
|
{
|
||||||
GetVehicleKit()->Reset();
|
GetVehicleKit()->Reset();
|
||||||
|
|
||||||
// mounts can also have accessories
|
|
||||||
GetVehicleKit()->InstallAllAccessories(creatureEntry);
|
|
||||||
|
|
||||||
// Send others that we now have a vehicle
|
// Send others that we now have a vehicle
|
||||||
WorldPacket data(SMSG_PLAYER_VEHICLE_DATA, GetPackGUID().size()+4);
|
WorldPacket data(SMSG_PLAYER_VEHICLE_DATA, GetPackGUID().size()+4);
|
||||||
data.appendPackGUID(GetGUID());
|
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);
|
data.Initialize(SMSG_ON_CANCEL_EXPECTED_RIDE_VEHICLE_AURA, 0);
|
||||||
plr->GetSession()->SendPacket(&data);
|
plr->GetSession()->SendPacket(&data);
|
||||||
|
|
||||||
|
// mounts can also have accessories
|
||||||
|
GetVehicleKit()->InstallAllAccessories(creatureEntry);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user