Core/Vehicles: Fix warnings
This commit is contained in:
1 parent
358c6a26d6
commit
06eff1644d
5 files changed
+7
-7
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user