diff options
author | Subv <s.v.h21@hotmail.com> | 2013-04-15 08:59:02 -0700 |
---|---|---|
committer | Subv <s.v.h21@hotmail.com> | 2013-04-15 08:59:02 -0700 |
commit | b104544d15a7df8f1b98ad59b852a71a2a2b821b (patch) | |
tree | 334156060d2234e25784a27823c9093aa62139bc /src | |
parent | 5c2203f185ec276f25963841ef212a85239927f1 (diff) | |
parent | 4be3090a0f347002e41d4a78a031245bad3cd887 (diff) |
Merge pull request #9648 from xjose93/ImproveLog
Core/Log: Added more information to log when a map cant be created.
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Handlers/MovementHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Handlers/MovementHandler.cpp b/src/server/game/Handlers/MovementHandler.cpp index 6f1c2a30d5e..4410cd20d7c 100644 --- a/src/server/game/Handlers/MovementHandler.cpp +++ b/src/server/game/Handlers/MovementHandler.cpp @@ -76,7 +76,7 @@ void WorldSession::HandleMoveWorldportAckOpcode() // while the player is in transit, for example the map may get full if (!newMap || !newMap->CanEnter(GetPlayer())) { - sLog->outError(LOG_FILTER_NETWORKIO, "Map %d could not be created for player %d, porting player to homebind", loc.GetMapId(), GetPlayer()->GetGUIDLow()); + sLog->outError(LOG_FILTER_NETWORKIO, "Map %d (%s) could not be created for player %d (%s), porting player to homebind", loc.GetMapId(), newMap ? newMap->GetMapName() : "Unknown", GetPlayer()->GetGUIDLow(), GetPlayer()->GetName().c_str()); GetPlayer()->TeleportTo(GetPlayer()->m_homebindMapId, GetPlayer()->m_homebindX, GetPlayer()->m_homebindY, GetPlayer()->m_homebindZ, GetPlayer()->GetOrientation()); return; } |