[8421] Propertly skip unused data in CMSG_LOOT_RELEASE for avoid warning spam.

This commit is contained in:
VladimirMangos 2009-08-26 03:45:25 +04:00
parent 8231eed7bf
commit db1c9924a9
2 changed files with 2 additions and 3 deletions

View file

@ -256,8 +256,7 @@ void WorldSession::HandleLootReleaseOpcode( WorldPacket & recv_data )
// cheaters can modify lguid to prevent correct apply loot release code and re-loot
// use internal stored guid
//uint64 lguid;
//recv_data >> lguid;
recv_data.read_skip<uint64>(); // guid;
if(uint64 lguid = GetPlayer()->GetLootGUID())
DoLootRelease(lguid);