mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 07:37:02 +00:00
Apply style fix
This commit is contained in:
parent
5531a0087d
commit
35405dd549
155 changed files with 10968 additions and 3660 deletions
|
|
@ -401,7 +401,9 @@ class Guild
|
|||
for (MemberList::iterator itr = members.begin(); itr != members.end(); ++itr)
|
||||
if (Player* player = ObjectAccessor::FindPlayer(ObjectGuid(HIGHGUID_PLAYER, itr->first)))
|
||||
if (player != except)
|
||||
{ _do(player); }
|
||||
{
|
||||
_do(player);
|
||||
}
|
||||
}
|
||||
|
||||
void CreateRank(std::string name, uint32 rights);
|
||||
|
|
@ -443,7 +445,9 @@ class Guild
|
|||
{
|
||||
for (MemberList::iterator itr = members.begin(); itr != members.end(); ++itr)
|
||||
if (itr->second.Name == name)
|
||||
{ return &itr->second; }
|
||||
{
|
||||
return &itr->second;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue