diff options
| author | Shauren <shauren.trinity@gmail.com> | 2025-07-11 17:47:14 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2025-07-11 17:47:14 +0200 |
| commit | fbbcc3167053950d2000cd88bb7d98266491768f (patch) | |
| tree | 170a59a57cf001b16b8e4545d6deda486220dd05 /src/server/scripts/Kalimdor | |
| parent | cbb532e4bec11d59f2072441a43b7c797de6d16d (diff) | |
Core/Misc: Simplify LinkedListHead::isEmpty and rename to empty to fit standard container naming
Diffstat (limited to 'src/server/scripts/Kalimdor')
| -rw-r--r-- | src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/instance_the_black_morass.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/instance_the_black_morass.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/instance_the_black_morass.cpp index 5e489251b8c..810eea0fc80 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/instance_the_black_morass.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/instance_the_black_morass.cpp @@ -125,7 +125,7 @@ public: //what other conditions to check? bool CanProgressEvent() { - if (instance->GetPlayers().isEmpty()) + if (instance->GetPlayers().empty()) return false; return true; @@ -188,7 +188,7 @@ public: TC_LOG_DEBUG("scripts", "Instance The Black Morass: Event completed."); Map::PlayerList const& players = instance->GetPlayers(); - if (!players.isEmpty()) + if (!players.empty()) { for (Map::PlayerList::const_iterator itr = players.begin(); itr != players.end(); ++itr) { |
