aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Outland
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2025-07-11 17:47:14 +0200
committerShauren <shauren.trinity@gmail.com>2025-07-11 17:47:14 +0200
commitfbbcc3167053950d2000cd88bb7d98266491768f (patch)
tree170a59a57cf001b16b8e4545d6deda486220dd05 /src/server/scripts/Outland
parentcbb532e4bec11d59f2072441a43b7c797de6d16d (diff)
Core/Misc: Simplify LinkedListHead::isEmpty and rename to empty to fit standard container naming
Diffstat (limited to 'src/server/scripts/Outland')
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp2
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/instance_serpent_shrine.cpp2
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp
index 3cace29b372..c9dcbc761e5 100644
--- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp
+++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp
@@ -249,7 +249,7 @@ struct boss_the_lurker_below : public BossAI
{
InRange = false;
Map::PlayerList const& PlayerList = me->GetMap()->GetPlayers();
- if (!PlayerList.isEmpty())
+ if (!PlayerList.empty())
{
for (Map::PlayerList::const_iterator i = PlayerList.begin(); i != PlayerList.end(); ++i)
{
diff --git a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/instance_serpent_shrine.cpp b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/instance_serpent_shrine.cpp
index 39eb7914045..a6f374e9dca 100644
--- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/instance_serpent_shrine.cpp
+++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/instance_serpent_shrine.cpp
@@ -133,7 +133,7 @@ class instance_serpent_shrine : public InstanceMapScript
Water = WATERSTATE_FRENZY;
Map::PlayerList const& PlayerList = instance->GetPlayers();
- if (PlayerList.isEmpty())
+ if (PlayerList.empty())
return;
for (Map::PlayerList::const_iterator i = PlayerList.begin(); i != PlayerList.end(); ++i)
{
diff --git a/src/server/scripts/Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp b/src/server/scripts/Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp
index e384bb3a078..3912f905075 100644
--- a/src/server/scripts/Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp
+++ b/src/server/scripts/Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp
@@ -203,7 +203,7 @@ struct boss_ahune : public BossAI
Unit::Kill(me, frozenCore);
Map::PlayerList const& players = me->GetMap()->GetPlayers();
- if (!players.isEmpty())
+ if (!players.empty())
{
if (Group* group = players.begin()->GetSource()->GetGroup())
if (group->isLFGGroup())