mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +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
|
Unit *Unit::GetOwner() const
|
||||||
{
|
{
|
||||||
uint64 ownerid = GetOwnerGUID();
|
if(uint64 ownerid = GetOwnerGUID())
|
||||||
if(!ownerid)
|
|
||||||
return NULL;
|
|
||||||
return ObjectAccessor::GetUnit(*this, ownerid);
|
return ObjectAccessor::GetUnit(*this, ownerid);
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
Unit *Unit::GetCharmer() const
|
Unit *Unit::GetCharmer() const
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7742"
|
#define REVISION_NR "7743"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue