mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-17 08:00:48 +01:00
Core/MMaps: Made some cosmetic improvements to the mmaps generator
This commit is contained in:
@@ -179,7 +179,6 @@ namespace MMAP
|
||||
{
|
||||
if ((*_th)->Free)
|
||||
{
|
||||
printf("Thread is free for map %03i\n", mapID);
|
||||
(*_th)->SetMapId(mapID);
|
||||
(*_th)->activate();
|
||||
next = true;
|
||||
@@ -335,7 +334,7 @@ namespace MMAP
|
||||
buildNavMesh(mapID, navMesh);
|
||||
if (!navMesh)
|
||||
{
|
||||
printf("Failed creating navmesh! \n");
|
||||
printf("[Map %i] Failed creating navmesh!\n", mapID);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -363,7 +362,7 @@ namespace MMAP
|
||||
/**************************************************************************/
|
||||
void MapBuilder::buildTile(uint32 mapID, uint32 tileX, uint32 tileY, dtNavMesh* navMesh)
|
||||
{
|
||||
printf("Building map %03u, tile [%02u,%02u]\n", mapID, tileX, tileY);
|
||||
printf("[Map %i] Building tile [%02u,%02u]\n", mapID, tileX, tileY);
|
||||
|
||||
MeshData meshData;
|
||||
|
||||
|
||||
@@ -292,6 +292,6 @@ int main(int argc, char** argv)
|
||||
builder.buildAllMaps(threads);
|
||||
|
||||
if (!silent)
|
||||
printf("Finished. MMAPS were built in %u ms!", GetMSTimeDiffToNow(start));
|
||||
printf("Finished. MMAPS were built in %u ms!\n", GetMSTimeDiffToNow(start));
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user