Core/PathFinding: Fix mmaps raycast without hit
Port From (https://github.com/TrinityCore/TrinityCore/commit/d89671dd5960a7184b060b47413dfce454cb72c4)
This commit is contained in:
@@ -450,6 +450,8 @@ namespace Game.Movement
|
|||||||
pathType = PathType.Incomplete;
|
pathType = PathType.Incomplete;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
_navMeshQuery.getPolyHeight(_pathPolyRefs[_polyLength - 1], endPoint, ref endPoint[1]);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user