mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/MMaps: Add rcMedianFilterWalkableArea() to mmaps generation process
Add rcMedianFilterWalkableArea() to mmaps generation process to simplify some ground/water areas
(cherry picked from commit 7ddbc18aaf)
This commit is contained in:
@@ -614,6 +614,12 @@ namespace MMAP
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!rcMedianFilterWalkableArea(m_rcContext, *tile.chf))
|
||||
{
|
||||
printf("%s Failed filtering area! \n", tileString.c_str());
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!rcBuildDistanceField(m_rcContext, *tile.chf))
|
||||
{
|
||||
printf("%s Failed building distance field! \n", tileString.c_str());
|
||||
|
||||
Reference in New Issue
Block a user