aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellMgr.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-05-23 10:57:05 +0200
committerQAston <none@none>2009-05-23 10:57:05 +0200
commit9af492483e8be747cd097bf11a4e68c41f9f2d96 (patch)
tree2e1274e132380dcd0ae2b0ecf278cabba8377859 /src/game/SpellMgr.cpp
parent028ed64e1091b9664babe132386a7530876f2ccf (diff)
*always remove old aura instead of recalculating new one in same id stack case-this prevents some problem with spelleffects execution problems
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellMgr.cpp')
-rw-r--r--src/game/SpellMgr.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp
index 2737cbef54b..053617bd965 100644
--- a/src/game/SpellMgr.cpp
+++ b/src/game/SpellMgr.cpp
@@ -2641,6 +2641,11 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2, bool
spellId_2 = GetLastSpellInChain(spellId_2);
spellId_1 = GetLastSpellInChain(spellId_1);
+
+ // Hack for Incanter's Absorption
+ if (spellId_1 == spellId_2 && spellId_1 == 44413)
+ return false;
+
if (spellId_1 == spellId_2)
return true;