diff options
author | megamage <none@none> | 2009-03-16 15:49:21 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-16 15:49:21 -0600 |
commit | 6a3da0932f67327933e7a6d8b7f5605a11aa6063 (patch) | |
tree | edc2bbb804358b06d0380fae14b00ed07dac243c /src/game/Player.cpp | |
parent | 8921eb048dcc1d8d92219c94640ae228a3fa83e7 (diff) |
[7470] Fixed possible loot exploit, thanks to leak` for reporting Author: arrai
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r-- | src/game/Player.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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; |