mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-30 13:47:23 +01:00
Typo
This commit is contained in:
@@ -59,7 +59,7 @@ bool PathGenerator::CalculatePath(float destX, float destY, float destZ, bool fo
|
||||
return false;
|
||||
|
||||
float newDestZ = _sourceUnit->GetBaseMap()->GetHeight(_sourceUnit->GetPhaseMask(), x, y, z, true, MAX_FALL_DISTANCE);
|
||||
if (newDestZ >= INVALID_HEIGHT)
|
||||
if (newDestZ <= INVALID_HEIGHT)
|
||||
return false;
|
||||
|
||||
Vector3 oldDest = GetEndPosition();
|
||||
|
||||
Reference in New Issue
Block a user