diff options
author | Shauren <shauren.trinity@gmail.com> | 2025-01-05 20:22:34 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2025-01-05 20:22:34 +0100 |
commit | 401502ea3c5ceca0c6253910035b2949e13746cc (patch) | |
tree | 08171ad987c9afe14719f5cb4c384546389878f8 /src/server/scripts/Kalimdor | |
parent | 04433910424540e42a2270156e7c9a8722c09913 (diff) |
Core/Grids: Modernize TypeContainer with variadic template
Diffstat (limited to 'src/server/scripts/Kalimdor')
-rw-r--r-- | src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/instance_culling_of_stratholme.cpp | 2 |
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())) |