Code Style (game + scripts only):
"==" --> " == " (when needed) --HG-- branch : trunk
This commit is contained in:
1 parent
49d05ba9aa
commit
2454c290b8
98 files changed
+738
-738
No files matched your search
@@ -39,7 +39,7 @@ static void AttemptJoin(Player* _player)
|
||||
Player *plr = iter->second;
|
||||
|
||||
// skip enemies and self
|
||||
if (!plr || plr==_player || plr->GetTeam() != _player->GetTeam())
|
||||
if (!plr || plr == _player || plr->GetTeam() != _player->GetTeam())
|
||||
continue;
|
||||
|
||||
//skip players not in world
|
||||
@@ -99,7 +99,7 @@ static void AttemptAddMore(Player* _player)
|
||||
Player *plr = iter->second;
|
||||
|
||||
// skip enemies and self
|
||||
if (!plr || plr==_player || plr->GetTeam() != _player->GetTeam())
|
||||
if (!plr || plr == _player || plr->GetTeam() != _player->GetTeam())
|
||||
continue;
|
||||
|
||||
if (!plr->IsInWorld())
|
||||
|
||||
Reference in new issue
Block a user