aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellEffects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 9c1e6c36daf..b81c32c21d4 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -3513,10 +3513,10 @@ void Spell::EffectDispel(uint32 i)
if (GetDispelChance(this, itr->caster, itr->spellId))
{
+ success_list.push_back(std::pair<uint32,uint64>(itr->spellId,itr->casterGuid));
entry.stackAmount-=1;
if (!itr->stackAmount)
dispel_list.erase(itr);
- success_list.push_back(std::pair<uint32,uint64>(itr->spellId,itr->casterGuid));
}
else
fail_list.push_back(itr->spellId);