*Fix a typo that makes linked spells not work.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-02-05 18:02:22 -06:00
1 parent 2aff5260ea
commit f00befd879
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -4702,7 +4702,7 @@ void Unit::RemoveAura(AuraMap::iterator &i, AuraRemoveMode mode)
{
for(std::vector<int32>::const_iterator itr = spell_triggered->begin(); itr != spell_triggered->end(); ++itr)
{
if(spell_triggered < 0)
if(*itr < 0)
RemoveAurasDueToSpell(-(*itr));
else if(Unit* caster = Aur->GetCaster())
CastSpell(this, *itr, true, 0, 0, caster->GetGUID());