aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQAston <qaston@gmail.com>2011-09-25 19:00:37 +0300
committerQAston <qaston@gmail.com>2011-09-25 19:00:37 +0300
commit210a770958c19ea4a881b77c78ca96624aaddc12 (patch)
tree72d761c93b57de312169d7eb65c1e40e6c5debf7
parent062e64563720d49d70669d80fdd27e228909565f (diff)
Core/Spells: Fix totem passive area auras stacking bug.
-rwxr-xr-xsrc/server/game/Entities/Totem/Totem.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/Entities/Totem/Totem.cpp b/src/server/game/Entities/Totem/Totem.cpp
index 245ad83bd20..10c54720350 100755
--- a/src/server/game/Entities/Totem/Totem.cpp
+++ b/src/server/game/Entities/Totem/Totem.cpp
@@ -86,8 +86,9 @@ void Totem::InitStats(uint32 duration)
void Totem::InitSummon()
{
+ // use AddAura instead of CastSpell - this in fact should be an AddSpell equivalent for creatures, but nothing like that exists so far.
if (m_type == TOTEM_PASSIVE)
- CastSpell(this, GetSpell(), true);
+ AddAura(GetSpell(), this);
// Some totems can have both instant effect and passive spell
if (GetSpell(1))