diff options
author | Mikhail Redko <ovitnez@gmail.com> | 2021-05-11 10:55:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-11 09:55:57 +0200 |
commit | 6c12f45f3b7d7eab32ed29860d2261fc8a512f0e (patch) | |
tree | 68225a2bb7662e4be2857e020c69996996427895 /src/server/game/Handlers/CalendarHandler.cpp | |
parent | e203ecda88a327c4e93588f39cc4ffdcf99b30f7 (diff) |
Core/Console: Improve ReadWinConsole logic and cosmetic changes (#26402)
* Core/Console: Improve ReadWinConsole logic and cosmetic changes
* Core/Console: Fixed possible appearance of weird characters in the console when printing the output of child processes
* Fix codestyle
* Removed auto
* Core/Misc: Explicit casting Difficulty values to uint8 before outputting to console
* Core/Misc: Cast Difficulty to uint32 for output to console
Co-authored-by: jackpoz <giacomopoz@gmail.com>
Diffstat (limited to 'src/server/game/Handlers/CalendarHandler.cpp')
-rw-r--r-- | src/server/game/Handlers/CalendarHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Handlers/CalendarHandler.cpp b/src/server/game/Handlers/CalendarHandler.cpp index 2b74c625338..e2e48253504 100644 --- a/src/server/game/Handlers/CalendarHandler.cpp +++ b/src/server/game/Handlers/CalendarHandler.cpp @@ -843,7 +843,7 @@ void WorldSession::SendCalendarRaidLockoutUpdated(InstanceSave const* save) ObjectGuid guid = _player->GetGUID(); TC_LOG_DEBUG("network", "SMSG_CALENDAR_RAID_LOCKOUT_UPDATED [%s] Map: %u, Difficulty %u", - guid.ToString().c_str(), save->GetMapId(), save->GetDifficulty()); + guid.ToString().c_str(), save->GetMapId(), static_cast<uint32>(save->GetDifficulty())); time_t currTime = GameTime::GetGameTime(); |