fix(Tool/MMAP): Fixed invalid check causing certain tiles not to build (#10841)
* fix(Tool/MMAP): Fixed invalid check causing certain tiles not to build * cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/e898b6e7942971a9bc96af54737ee971b99073a8) Co-Authored-By: robinsch <robinsch@users.noreply.github.com> * Update MapDefines.h Co-authored-by: robinsch <robinsch@users.noreply.github.com>
This commit is contained in:
@@ -805,12 +805,10 @@ namespace MMAP
|
|||||||
printf("%sNo vertices to build tile! \n", tileString);
|
printf("%sNo vertices to build tile! \n", tileString);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (!params.polyCount || !params.polys ||
|
if (!params.polyCount || !params.polys)
|
||||||
TILES_PER_MAP * TILES_PER_MAP == params.polyCount)
|
|
||||||
{
|
{
|
||||||
// we have flat tiles with no actual geometry - don't build those, its useless
|
// we have flat tiles with no actual geometry - don't build those, its useless
|
||||||
// keep in mind that we do output those into debug info
|
// keep in mind that we do output those into debug info
|
||||||
// drop tiles with only exact count - some tiles may have geometry while having less tiles
|
|
||||||
printf("%s No polygons to build on tile! \n", tileString);
|
printf("%s No polygons to build on tile! \n", tileString);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user