Core: Fix warnings

This commit is contained in:
Vincent-Michael
2013-05-21 19:18:55 +02:00
parent 1cec36790c
commit 75c4f28442
3 changed files with 3 additions and 3 deletions

View File

@@ -262,7 +262,7 @@ void WorldSession::HandleSendMail(WorldPacket& recvData)
sLog->outCommand(GetAccountId(), "GM %s (GUID: %u) (Account: %u) mail item: %s (Entry: %u Count: %u) "
"to player: %s (GUID: %u) (Account: %u)", GetPlayerName().c_str(), GetGuidLow(), GetAccountId(),
item->GetTemplate()->Name1.c_str(), item->GetEntry(), item->GetCount(),
receiverName.c_str(), receiverGuid, receiverAccountId);
receiverName.c_str(), GUID_LOPART(receiverGuid), receiverAccountId);
}
item->SetNotRefundable(GetPlayer()); // makes the item no longer refundable
@@ -282,7 +282,7 @@ void WorldSession::HandleSendMail(WorldPacket& recvData)
if (log && money > 0)
{
sLog->outCommand(GetAccountId(), "GM %s (GUID: %u) (Account: %u) mail money: %u to player: %s (GUID: %u) (Account: %u)",
GetPlayerName().c_str(), GetGuidLow(), GetAccountId(), money, receiverName.c_str(), receiverGuid, receiverAccountId);
GetPlayerName().c_str(), GetGuidLow(), GetAccountId(), money, receiverName.c_str(), GUID_LOPART(receiverGuid), receiverAccountId);
}
}

View File

@@ -1583,7 +1583,7 @@ public:
// Position data print
uint32 mapId;
uint32 areaId;
uint32 phase;
uint32 phase = 0;
std::string areaName = "<unknown>";
std::string zoneName = "<unknown>";