aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2025-01-05 20:22:34 +0100
committerOvahlord <dreadkiller@gmx.de>2025-01-09 20:53:02 +0100
commitd785a48475041fee4bf433bd7640dc192fd16640 (patch)
treecdce82c2c12de1c3987b62f755f6a8f7c053a2aa /src/server/scripts
parent5ed1005afad1d0f3bfe8930bd623c6f6d7b3e0d4 (diff)
Core/Grids: Modernize TypeContainer with variadic template
(cherry picked from commit 401502ea3c5ceca0c6253910035b2949e13746cc)
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/instance_culling_of_stratholme.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/instance_culling_of_stratholme.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/instance_culling_of_stratholme.cpp
index a869ea201e6..830925b6fbc 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/instance_culling_of_stratholme.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/instance_culling_of_stratholme.cpp
@@ -729,7 +729,7 @@ class instance_culling_of_stratholme : public InstanceMapScript
// Reset respawn time on all permanent spawns, despawn all temporary spawns
// @todo dynspawn, this won't work
std::vector<Creature*> toDespawn;
- std::unordered_map<ObjectGuid, Creature*> const& objects = instance->GetObjectsStore().GetElements()._elements._element;
+ std::unordered_map<ObjectGuid, Creature*> const& objects = instance->GetObjectsStore().Data.Head;
for (std::unordered_map<ObjectGuid, Creature*>::const_iterator itr = objects.cbegin(); itr != objects.cend(); ++itr)
{
if (itr->second && (itr->second->isDead() || !itr->second->GetSpawnId() || itr->second->GetOriginalEntry() != itr->second->GetEntry()))