diff options
author | Shauren <shauren.trinity@gmail.com> | 2019-06-27 21:54:07 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2019-06-27 21:54:07 +0200 |
commit | d39354e3a31f7fb2cd579e12638d6e6089eefceb (patch) | |
tree | 4559431bed646946a69c64fa1ba649ef217c81c6 /src/server/game/Globals/ObjectMgr.cpp | |
parent | 4c3b215dbb16abc17ab63ee4fc60909c386a5a1b (diff) |
Core/Misc: Fixed log/query formatting with Difficulty
Diffstat (limited to 'src/server/game/Globals/ObjectMgr.cpp')
-rw-r--r-- | src/server/game/Globals/ObjectMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp index a3112f45956..fc12ac76f7f 100644 --- a/src/server/game/Globals/ObjectMgr.cpp +++ b/src/server/game/Globals/ObjectMgr.cpp @@ -1895,14 +1895,14 @@ inline std::vector<Difficulty> ParseSpawnDifficulties(std::string const& difficu if (difficultyId && !sDifficultyStore.LookupEntry(difficultyId)) { TC_LOG_ERROR("sql.sql", "Table `%s` has %s (GUID: " UI64FMTD ") with non invalid difficulty id %u, skipped.", - table.c_str(), table.c_str(), spawnId, difficultyId); + table.c_str(), table.c_str(), spawnId, uint32(difficultyId)); continue; } if (!isTransportMap && mapDifficulties.find(difficultyId) == mapDifficulties.end()) { TC_LOG_ERROR("sql.sql", "Table `%s` has %s (GUID: " UI64FMTD ") has unsupported difficulty %u for map (Id: %u).", - table.c_str(), table.c_str(), spawnId, difficultyId, mapId); + table.c_str(), table.c_str(), spawnId, uint32(difficultyId), mapId); continue; } |