mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-01 18:13:48 +00:00
refactor(Core/Misc): acore to Acore (#6043)
This commit is contained in:
@@ -609,7 +609,7 @@ void MotionTransport::UpdatePassengerPositions(PassengerSet& passengers)
|
||||
CalculatePassengerPosition(x, y, z, &o);
|
||||
|
||||
// check if position is valid
|
||||
if (!acore::IsValidMapCoord(x, y, z))
|
||||
if (!Acore::IsValidMapCoord(x, y, z))
|
||||
continue;
|
||||
|
||||
switch (passenger->GetTypeId())
|
||||
@@ -875,7 +875,7 @@ void StaticTransport::RelocateToProgress(uint32 progress)
|
||||
float oriRotAngle = oriRotAngleCurr + percRot * (oriRotAngleNext - oriRotAngleCurr);
|
||||
|
||||
// check if position is valid
|
||||
if (!acore::IsValidMapCoord(pos.x, pos.y, pos.z))
|
||||
if (!Acore::IsValidMapCoord(pos.x, pos.y, pos.z))
|
||||
return;
|
||||
|
||||
// update position to new one
|
||||
@@ -910,7 +910,7 @@ void StaticTransport::UpdatePassengerPositions()
|
||||
CalculatePassengerPosition(x, y, z, &o);
|
||||
|
||||
// check if position is valid
|
||||
if (!acore::IsValidMapCoord(x, y, z))
|
||||
if (!Acore::IsValidMapCoord(x, y, z))
|
||||
continue;
|
||||
|
||||
switch (passenger->GetTypeId())
|
||||
|
||||
Reference in New Issue
Block a user