Tools/MeshExtractor: Fix warnings

This commit is contained in:
jackpoz
2013-12-31 01:09:09 +01:00
parent 84b20f07e8
commit 85218f4436
2 changed files with 2 additions and 2 deletions

View File

@@ -222,7 +222,7 @@ namespace MMAP
else
{
--_loadedTiles;
TC_LOG_INFO("maps", "MMAP::UnloadMap: Unloaded mmtile [%02u, %02u] from %03u", mapId, x, y, mapId);
TC_LOG_INFO("maps", "MMAP::UnloadMap: Unloaded mmtile [%02u, %02u] from %03u", x, y, mapId);
}
}

View File

@@ -62,7 +62,7 @@ void ExtractMMaps(std::set<uint32>& mapIds, uint32 threads)
Utils::CreateDir(basePath);
DBC* dbc = MPQHandler->GetDBC("Map");
printf("Map.dbc contains %u rows.\n", dbc->Records.size());
printf("Map.dbc contains " SIZEFMTD " rows.\n", dbc->Records.size());
for (std::vector<Record*>::iterator itr = dbc->Records.begin(); itr != dbc->Records.end(); ++itr)
{
uint32 mapId = (*itr)->Values[0];