mirror of
https://github.com/azerothcore/azerothcore-wotlk.git
synced 2025-12-05 18:20:24 -08:00
Fixed warnings when EXTRA_LOGS are off
This commit is contained in:
parent
e687d223ff
commit
dcdddf658b
11 changed files with 25 additions and 13 deletions
|
|
@ -157,7 +157,6 @@ namespace MMAP
|
|||
|
||||
fclose(file);
|
||||
|
||||
dtMeshHeader* header = (dtMeshHeader*)data;
|
||||
dtTileRef tileRef = 0;
|
||||
|
||||
dtStatus stat;
|
||||
|
|
@ -172,6 +171,7 @@ namespace MMAP
|
|||
mmap->mmapLoadedTiles.insert(std::pair<uint32, dtTileRef>(packedGridPos, tileRef));
|
||||
++loadedTiles;
|
||||
#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
|
||||
dtMeshHeader* header = (dtMeshHeader*)data;
|
||||
sLog->outDetail("MMAP:loadMap: Loaded mmtile %03i[%02i,%02i] into %03i[%02i,%02i]", mapId, x, y, mapId, header->x, header->y);
|
||||
#endif
|
||||
return true;
|
||||
|
|
|
|||
|
|
@ -74,6 +74,8 @@
|
|||
|
||||
#define SIZEFMTD ACE_SIZE_T_FORMAT_SPECIFIER
|
||||
|
||||
#define UNUSED(x) (void)(x)
|
||||
|
||||
typedef std::int64_t int64;
|
||||
typedef std::int32_t int32;
|
||||
typedef std::int16_t int16;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue