mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 19:37:04 +00:00
[11458] Non-item related uint64 guids replaced by ObjectGUids in Player.h
Also let ObjectAccessor::FindPlayer optimize empty guid case work.
This commit is contained in:
parent
1d781cd431
commit
151e5eae9c
13 changed files with 123 additions and 125 deletions
|
|
@ -847,7 +847,7 @@ bool Item::CanBeTraded(bool mail) const
|
|||
{
|
||||
if (owner->CanUnequipItem(GetPos(),false) != EQUIP_ERR_OK )
|
||||
return false;
|
||||
if (owner->GetLootGUID()==GetGUID())
|
||||
if (owner->GetLootGuid() == GetObjectGuid())
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue