mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[8421] Propertly skip unused data in CMSG_LOOT_RELEASE for avoid warning spam.
This commit is contained in:
parent
8231eed7bf
commit
db1c9924a9
2 changed files with 2 additions and 3 deletions
|
|
@ -256,8 +256,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);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8420"
|
#define REVISION_NR "8421"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue