[8421] Propertly skip unused data in CMSG_LOOT_RELEASE for avoid warning spam. Author: VladimirMangos
--HG-- branch : trunk
This commit is contained in:
@@ -268,8 +268,7 @@ void WorldSession::HandleLootReleaseOpcode( WorldPacket & recv_data )
|
|||||||
|
|
||||||
// cheaters can modify lguid to prevent correct apply loot release code and re-loot
|
// cheaters can modify lguid to prevent correct apply loot release code and re-loot
|
||||||
// use internal stored guid
|
// use internal stored guid
|
||||||
//uint64 lguid;
|
recv_data.read_skip<uint64>(); // guid;
|
||||||
//recv_data >> lguid;
|
|
||||||
|
|
||||||
if(uint64 lguid = GetPlayer()->GetLootGUID())
|
if(uint64 lguid = GetPlayer()->GetLootGUID())
|
||||||
DoLootRelease(lguid);
|
DoLootRelease(lguid);
|
||||||
|
|||||||
Reference in New Issue
Block a user