diff options
Diffstat (limited to 'src/server/game/Spells/SpellInfo.cpp')
-rw-r--r-- | src/server/game/Spells/SpellInfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp index 55b0d1cdebf..94fc49a2c3d 100644 --- a/src/server/game/Spells/SpellInfo.cpp +++ b/src/server/game/Spells/SpellInfo.cpp @@ -3313,10 +3313,10 @@ SpellEffectInfoVector SpellInfo::GetEffectsForDifficulty(uint32 difficulty) cons DifficultyEntry const* difficultyEntry = sDifficultyStore.LookupEntry(difficulty); while (difficultyEntry) { - SpellEffectInfoMap::const_iterator itr = _effects.find(difficulty); - if (itr != _effects.end()) + SpellEffectInfoMap::const_iterator effectItr = _effects.find(difficulty); + if (effectItr != _effects.end()) { - for (SpellEffectInfo const* effect : itr->second) + for (SpellEffectInfo const* effect : effectItr->second) { // overwrite any existing effect from DIFFICULTY_NONE if (effect) |