refactor(Core/Misc): isEmpty to IsEmpty (#10011)

This commit is contained in:
Kitzunu
2022-01-14 03:43:15 +01:00
committed by GitHub
parent e36ee257c7
commit d1cc65b1c7
50 changed files with 94 additions and 94 deletions

View File

@@ -302,7 +302,7 @@ public:
bool finished = false;
Map::PlayerList const& players = me->GetMap()->GetPlayers();
if (!players.isEmpty())
if (!players.IsEmpty())
for (Map::PlayerList::const_iterator i = players.begin(); i != players.end(); ++i)
if (Player* player = i->GetSource())
{

View File

@@ -70,7 +70,7 @@ public:
if (TeamIdInInstance == TEAM_NEUTRAL)
{
Map::PlayerList const& players = instance->GetPlayers();
if (!players.isEmpty())
if (!players.IsEmpty())
if (Player* player = players.begin()->GetSource())
TeamIdInInstance = player->GetTeamId();
}