Core/Maps: Partially revert 0c69316714d0558e32462f5401197fe1e803ae75

The development will continue in a PR

(cherry picked from commit 1e3d85e2839c5ee3170223f4d985eecd527c5533)
This commit is contained in:
jackpoz
2022-03-05 17:02:38 +01:00
committed by Shauren
parent 26962127a5
commit bea8894bce
+1 -1
View File
@@ -2393,7 +2393,7 @@ float GridMap::getMinHeight(float x, float y) const
if (!_minHeightPlanes)
return -500.0f;
GridCoord gridCoord = Trinity::ComputeGridCoordSimple(x, y);
GridCoord gridCoord = Trinity::ComputeGridCoord(x, y);
int32 doubleGridX = int32(std::floor(-(x - MAP_HALFSIZE) / CENTER_GRID_OFFSET));
int32 doubleGridY = int32(std::floor(-(y - MAP_HALFSIZE) / CENTER_GRID_OFFSET));