mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
Merge commit 'origin/master' into 310
This commit is contained in:
commit
335b32dbc3
7 changed files with 51 additions and 36 deletions
|
|
@ -7348,10 +7348,9 @@ void Unit::ModifyAuraState(AuraState flag, bool apply)
|
|||
|
||||
Unit *Unit::GetOwner() const
|
||||
{
|
||||
uint64 ownerid = GetOwnerGUID();
|
||||
if(!ownerid)
|
||||
return NULL;
|
||||
return ObjectAccessor::GetUnit(*this, ownerid);
|
||||
if(uint64 ownerid = GetOwnerGUID())
|
||||
return ObjectAccessor::GetUnit(*this, ownerid);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Unit *Unit::GetCharmer() const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue