mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[7470] Fixed possible loot exploit, thanks to leak` for reporting
This commit is contained in:
parent
e904d7c2c0
commit
4033f789a9
2 changed files with 4 additions and 1 deletions
|
|
@ -7468,6 +7468,9 @@ void Player::SendLootRelease( uint64 guid )
|
|||
|
||||
void Player::SendLoot(uint64 guid, LootType loot_type)
|
||||
{
|
||||
if (uint64 lguid = GetLootGUID())
|
||||
m_session->DoLootRelease(lguid);
|
||||
|
||||
Loot *loot = 0;
|
||||
PermissionTypes permission = ALL_PERMISSION;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue