diff options
author | megamage <none@none> | 2009-02-05 18:02:22 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-02-05 18:02:22 -0600 |
commit | f00befd879b74db116d657080c26a5055ee43b97 (patch) | |
tree | a7c444a92e44ed7713d6cc32895f1fc00d611cdd /src/game/Unit.cpp | |
parent | 2aff5260eada5a9a03a56ebce91f775105d7c92b (diff) |
*Fix a typo that makes linked spells not work.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 89eeeb782ad..748aaa4cab8 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -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()); |