mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[7743] Coding style fix.
Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
8168b0f2eb
commit
434cbc2150
2 changed files with 4 additions and 5 deletions
|
|
@ -7344,10 +7344,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