[7470] Fixed possible loot exploit, thanks to leak` for reporting Author: arrai
--HG-- branch : trunk
This commit is contained in:
@@ -7624,6 +7624,9 @@ void Player::SendLootRelease( uint64 guid )
|
|||||||
|
|
||||||
void Player::SendLoot(uint64 guid, LootType loot_type)
|
void Player::SendLoot(uint64 guid, LootType loot_type)
|
||||||
{
|
{
|
||||||
|
if (uint64 lguid = GetLootGUID())
|
||||||
|
m_session->DoLootRelease(lguid);
|
||||||
|
|
||||||
Loot *loot = 0;
|
Loot *loot = 0;
|
||||||
PermissionTypes permission = ALL_PERMISSION;
|
PermissionTypes permission = ALL_PERMISSION;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user