Core/PacketIO: Enable 3 loot related opcodes (fix structure of one)

This commit is contained in:
Nay committed 2012-08-07 14:23:56 +01:00
1 parent 488fdadbed
commit 7944a7e095
2 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -1120,13 +1120,13 @@ void WorldSession::HandleOptOutOfLootOpcode(WorldPacket & recvData)
{
sLog->outDebug(LOG_FILTER_NETWORKIO, "WORLD: Received CMSG_OPT_OUT_OF_LOOT");
uint32 passOnLoot;
bool passOnLoot;
recvData >> passOnLoot; // 1 always pass, 0 do not pass
// ignore if player not loaded
if (!GetPlayer()) // needed because STATUS_AUTHED
{
if (passOnLoot != 0)
if (passOnLoot)
sLog->outError("CMSG_OPT_OUT_OF_LOOT value<>0 for not-loaded character!");
return;
}