aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Spells/Auras/SpellEffects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Auras/SpellEffects.cpp b/src/server/game/Spells/Auras/SpellEffects.cpp
index 892162d7689..f765acb1f2a 100644
--- a/src/server/game/Spells/Auras/SpellEffects.cpp
+++ b/src/server/game/Spells/Auras/SpellEffects.cpp
@@ -5991,7 +5991,7 @@ void Spell::EffectScriptEffect(uint32 effIndex)
Player *plr = unitTarget->ToPlayer();
static uint32 const itemId[] = {45061, 45176, 45177, 45178, 45179, 0};
// player can only have one of these items
- for (uint32 *itr = &itemId[0]; *itr; ++itr)
+ for (uint32 const *itr = &itemId[0]; *itr; ++itr)
if (plr->HasItemCount(*itr, 1, true))
return;
DoCreateItem(effIndex, itemId[urand(0,4)]);