Fix compile

This commit is contained in:
Spp
2012-11-16 09:09:27 +01:00
parent a0c8193ee7
commit 978fc4b7b9
3 changed files with 3 additions and 3 deletions

View File

@@ -469,7 +469,7 @@ void WorldSession::HandleBattleFieldPortOpcode(WorldPacket &recvData)
if (action)
{
sLog->outDebug(LOG_FILTER_BATTLEGROUND, "CMSG_BATTLEFIELD_PORT %s Slot: %u, Unk: %u, Time: %u, Action: %u. Cant find BG with id %u!",
GetPlayerInfo().c_str(), queueSlot, unk, time, action);
GetPlayerInfo().c_str(), queueSlot, unk, time, action, ginfo.IsInvitedToBGInstanceGUID);
return;
}

View File

@@ -921,7 +921,7 @@ int WorldSocket::HandleAuthSession(WorldPacket& recvPacket)
// Must be done before WorldSession is created
if (sWorld->getBoolConfig(CONFIG_WARDEN_ENABLED) && os != "Win" && os != "OSX")
{
packet.Initialize(SMSG_AUTH_RESPONSE, 1);
WorldPacket packet(SMSG_AUTH_RESPONSE, 1);
packet << uint8(AUTH_REJECT);
SendPacket(packet);

View File

@@ -1049,7 +1049,7 @@ public:
{
if (MapEntry const* mapInfo = sMapStore.LookupEntry(id))
{
std::string name = mapInfo->name[locale];
std::string name = mapInfo->name;
if (name.empty())
continue;