From 6a3da0932f67327933e7a6d8b7f5605a11aa6063 Mon Sep 17 00:00:00 2001 From: megamage Date: Mon, 16 Mar 2009 15:49:21 -0600 Subject: [7470] Fixed possible loot exploit, thanks to leak` for reporting Author: arrai --HG-- branch : trunk --- src/game/Player.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/game/Player.cpp b/src/game/Player.cpp index badeca1fa0e..8ecd58fa362 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -7624,6 +7624,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; -- cgit v1.2.3