This commit is contained in:
kaelima
2012-09-07 12:54:38 +02:00
parent 407286fe81
commit 2e80503283

View File

@@ -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();