Core/Vehicles: Fix warnings

This commit is contained in:
Vincent-Michael committed 2012-09-10 15:44:12 +02:00
1 parent 358c6a26d6
commit 06eff1644d
5 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -17325,7 +17325,7 @@ void Unit::UpdateOrientation(float orientation)
{
SetOrientation(orientation);
if (IsVehicle())
GetVehicleKit()->RelocatePassengers(GetPositionX(), GetPositionY(), GetPositionZ(), orientation);
GetVehicleKit()->RelocatePassengers();
}
//! Only server-side height update, does not broadcast to client
@@ -17333,7 +17333,7 @@ void Unit::UpdateHeight(float newZ)
{
Relocate(GetPositionX(), GetPositionY(), newZ);
if (IsVehicle())
GetVehicleKit()->RelocatePassengers(GetPositionX(), GetPositionY(), newZ, GetOrientation());
GetVehicleKit()->RelocatePassengers();
}
void Unit::SendThreatListUpdate()