Code Style (game + scripts only):
"!=" --> " != " (when needed) " !=" --> " !=" "!= " --> "!= " --HG-- branch : trunk
This commit is contained in:
1 parent
46f0674e23
commit
4635fbc020
54 files changed
+270
-270
No files matched your search
@@ -47,7 +47,7 @@ static void AttemptJoin(Player* _player)
|
||||
continue;
|
||||
|
||||
// skip not auto add, not group leader cases
|
||||
if (!plr->GetSession()->LookingForGroup_auto_add || plr->GetGroup() && plr->GetGroup()->GetLeaderGUID()!=plr->GetGUID())
|
||||
if (!plr->GetSession()->LookingForGroup_auto_add || plr->GetGroup() && plr->GetGroup()->GetLeaderGUID() != plr->GetGUID())
|
||||
continue;
|
||||
|
||||
// skip non auto-join or empty slots, or non compatible slots
|
||||
@@ -86,7 +86,7 @@ static void AttemptJoin(Player* _player)
|
||||
static void AttemptAddMore(Player* _player)
|
||||
{
|
||||
// skip not group leader case
|
||||
if (_player->GetGroup() && _player->GetGroup()->GetLeaderGUID()!=_player->GetGUID())
|
||||
if (_player->GetGroup() && _player->GetGroup()->GetLeaderGUID() != _player->GetGUID())
|
||||
return;
|
||||
|
||||
if (!_player->m_lookingForGroup.more.canAutoJoin())
|
||||
|
||||
Reference in new issue
Block a user