Core/Maps: Partially revert 0c69316714d0558e32462f5401197fe1e803ae75
The development will continue in a PR (cherry picked from commit 1e3d85e2839c5ee3170223f4d985eecd527c5533)
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user