diff options
author | Shauren <shauren.trinity@gmail.com> | 2013-04-30 11:10:39 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2013-04-30 11:10:39 +0200 |
commit | 54749e6918df211e1534daefc31281cf5767f7b5 (patch) | |
tree | 1b8229d7baf45d67525ca1af922b104a29a2d7c2 | |
parent | 2e1b1b8ceb08dcbe35f11605486c45f52717f2e2 (diff) |
Core/Battlegrounds: Fixed a crash in queue logging
-rw-r--r-- | src/server/game/Battlegrounds/BattlegroundQueue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Battlegrounds/BattlegroundQueue.cpp b/src/server/game/Battlegrounds/BattlegroundQueue.cpp index 600f5e8150b..c4fad3f49b3 100644 --- a/src/server/game/Battlegrounds/BattlegroundQueue.cpp +++ b/src/server/game/Battlegrounds/BattlegroundQueue.cpp @@ -295,7 +295,7 @@ void BattlegroundQueue::RemovePlayer(uint64 guid, bool decreaseInvitedCount) std::string playerName = "Unknown"; if (Player* player = ObjectAccessor::FindPlayer(guid)) playerName = player->GetName(); - sLog->outError(LOG_FILTER_BATTLEGROUND, "BattlegroundQueue: couldn't find player %s (GUID: %u)", GUID_LOPART(guid)); + sLog->outError(LOG_FILTER_BATTLEGROUND, "BattlegroundQueue: couldn't find player %s (GUID: %u)", playerName.c_str(), GUID_LOPART(guid)); return; } |