From cdb0945e330c866bcffccfb53a7e72c7d1a6c178 Mon Sep 17 00:00:00 2001 From: Antz Date: Mon, 22 Nov 2021 20:52:15 +0000 Subject: [PATCH] Add missing iterator --- src/game/WorldHandlers/CreatureLinkingMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/WorldHandlers/CreatureLinkingMgr.cpp b/src/game/WorldHandlers/CreatureLinkingMgr.cpp index 552cd695..95177b77 100644 --- a/src/game/WorldHandlers/CreatureLinkingMgr.cpp +++ b/src/game/WorldHandlers/CreatureLinkingMgr.cpp @@ -331,7 +331,7 @@ CreatureLinkingInfo const* CreatureLinkingMgr::GetLinkedTriggerInformation(uint3 { // guid case CreatureLinkingMapBounds bounds = m_creatureLinkingGuidMap.equal_range(lowGuid); - for (CreatureLinkingMap::const_iterator iter = bounds.first; iter != bounds.second;) + for (CreatureLinkingMap::const_iterator iter = bounds.first; iter != bounds.second; ++iter) { return &(iter->second); }