mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[10812] Use ObjectGuid for corpse owner guid.
Still exist 9 GUID_LOPART uses in code.
This commit is contained in:
parent
b305f203b9
commit
0a964e43a9
7 changed files with 25 additions and 24 deletions
|
|
@ -198,7 +198,7 @@ bool CannibalizeObjectCheck::operator()(Corpse* u)
|
|||
if(u->GetType()==CORPSE_BONES)
|
||||
return false;
|
||||
|
||||
Player* owner = ObjectAccessor::FindPlayer(u->GetOwnerGUID());
|
||||
Player* owner = ObjectAccessor::FindPlayer(u->GetOwnerGuid());
|
||||
|
||||
if( !owner || i_fobj->IsFriendlyTo(owner))
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue