mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 19:35:42 +00:00
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 (e898b6e794)
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);
|
||||
break;
|
||||
}
|
||||
if (!params.polyCount || !params.polys ||
|
||||
TILES_PER_MAP * TILES_PER_MAP == params.polyCount)
|
||||
if (!params.polyCount || !params.polys)
|
||||
{
|
||||
// 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
|
||||
// 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);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user