[7470] Fixed possible loot exploit, thanks to leak` for reporting

This commit is contained in:
arrai 2009-03-16 16:50:46 +01:00
parent e904d7c2c0
commit 4033f789a9
2 changed files with 4 additions and 1 deletions

View file

@ -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;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "7469"
#define REVISION_NR "7470"
#endif // __REVISION_NR_H__