From 401502ea3c5ceca0c6253910035b2949e13746cc Mon Sep 17 00:00:00 2001 From: Shauren Date: Sun, 5 Jan 2025 20:22:34 +0100 Subject: Core/Grids: Modernize TypeContainer with variadic template --- .../CullingOfStratholme/instance_culling_of_stratholme.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts') 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 toDespawn; - std::unordered_map const& objects = instance->GetObjectsStore().GetElements()._elements._element; + std::unordered_map const& objects = instance->GetObjectsStore().Data.Head; for (std::unordered_map::const_iterator itr = objects.cbegin(); itr != objects.cend(); ++itr) { if (itr->second && (itr->second->isDead() || !itr->second->GetSpawnId() || itr->second->GetOriginalEntry() != itr->second->GetEntry())) -- cgit v1.2.3