Add missing iterator

This commit is contained in:
Antz 2021-11-22 20:52:15 +00:00 committed by Antz
parent 3825dcc9b9
commit cdb0945e33
No known key found for this signature in database
GPG Key ID: 0DF907270598C85F

View File

@ -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);
}