This commit is contained in:
kaelima committed 2012-09-07 12:54:54 +02:00
1 parent 407286fe81
commit 2e80503283
1 file changed
+1 -1
+1 -1
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();