Core/PathFinding: Fix mmaps raycast without hit

Port From (https://github.com/TrinityCore/TrinityCore/commit/d89671dd5960a7184b060b47413dfce454cb72c4)
This commit is contained in:
hondacrx
2022-01-07 11:22:32 -05:00
parent b69a918d9f
commit 644589d6bd
@@ -450,6 +450,8 @@ namespace Game.Movement
pathType = PathType.Incomplete;
return;
}
else
_navMeshQuery.getPolyHeight(_pathPolyRefs[_polyLength - 1], endPoint, ref endPoint[1]);
}
else
{