Skip to content

Commit

Permalink
Revert "Fix stormwind entrance pathing (#2088)"
Browse files Browse the repository at this point in the history
This reverts commit dc7f0c4.
  • Loading branch information
ratkosrb committed Jan 25, 2024
1 parent 1635ea9 commit 2447de4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions contrib/mmap/src/TerrainBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -766,12 +766,9 @@ namespace MMAP
float inDist = -1.0f;
if (it->IsUnderObject(v, up, isM2, &outDist, &inDist)) // inDist < outDist
{
// If terrain is under wmo, mark terrain as unwalkable
// If there are less than 1.5y between terrain and m2 then mark the terrain as unwalkable
if (!isM2 || inDist < 1.5f)
{
//if there are less than 1.5y between terrain and model then mark the terrain as unwalkable
if (inDist < 1.5f)
terrainInsideModelsVerts[t] = inDist;
}
}
}
}
Expand Down

0 comments on commit 2447de4

Please sign in to comment.