[10784] Restrict items with generated loot really to single character only.

This commit is contained in:
VladimirMangos 2010-11-25 16:52:55 +03:00
parent 525836734c
commit 21710cf05d
2 changed files with 5 additions and 5 deletions

View file

@ -1058,10 +1058,6 @@ Item* Item::CloneItem( uint32 count, Player const* player ) const
bool Item::IsBindedNotWith( Player const* player ) const
{
// not binded item
if (!IsSoulBound())
return false;
// own item
if (GetOwnerGuid() == player->GetObjectGuid())
return false;
@ -1070,6 +1066,10 @@ bool Item::IsBindedNotWith( Player const* player ) const
if (HasGeneratedLoot())
return true;
// not binded item
if (!IsSoulBound())
return false;
// not BOA item case
if (!IsBoundAccountWide())
return true;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10783"
#define REVISION_NR "10784"
#endif // __REVISION_NR_H__