aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorQAston <none@none>2009-03-23 15:39:40 +0100
committerQAston <none@none>2009-03-23 15:39:40 +0100
commit8af4e2dd4252f278cab74f8ba05c10b3976da816 (patch)
tree6c220e2dafeb8245736aa48523973740ef0c6234 /src
parent470d961dfadd0694f8101a8223486aeea87f256f (diff)
*Fix a crash.
--HG-- branch : trunk
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);