aboutsummaryrefslogtreecommitdiff
path: root/src/game/Creature.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-09 22:31:53 -0500
committermegamage <none@none>2009-05-09 22:31:53 -0500
commit883c2ef77da57f12887cfcdbaed03bf1ea50e6b9 (patch)
tree9af1daa29cfacf371ef41a4b36a3ab9b976fa8ca /src/game/Creature.cpp
parent67876f9dfe14783e9c81bf5a8bab6843d30b22bc (diff)
*Do not allow persistant auras from the same caster stack on target.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Creature.cpp')
-rw-r--r--src/game/Creature.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp
index 01f43ac8163..a47afda5cd2 100644
--- a/src/game/Creature.cpp
+++ b/src/game/Creature.cpp
@@ -164,8 +164,8 @@ Creature::~Creature()
i_AI = NULL;
}
- if(m_uint32Values)
- sLog.outDetail("Deconstruct Creature Entry = %u", GetEntry());
+ //if(m_uint32Values)
+ // sLog.outDetail("Deconstruct Creature Entry = %u", GetEntry());
}
void Creature::AddToWorld()
@@ -2105,7 +2105,7 @@ bool Creature::LoadCreaturesAddon(bool reload)
continue;
}
- AddAuraEffect(AdditionalSpellInfo->Id, cAura->effect_idx, this);
+ AddAuraEffect(AdditionalSpellInfo, cAura->effect_idx, this);
sLog.outDebug("Spell: %u with Aura %u added to creature (GUIDLow: %u Entry: %u )", cAura->spell_id, AdditionalSpellInfo->EffectApplyAuraName[cAura->effect_idx],GetGUIDLow(),GetEntry());
}
}