diff options
| author | QAston <none@none> | 2009-02-02 17:42:05 +0100 |
|---|---|---|
| committer | QAston <none@none> | 2009-02-02 17:42:05 +0100 |
| commit | dca9c4cc1f0229ab97dbe4e6e8486deaef978fcf (patch) | |
| tree | 4fe72671366d1f04e669beeb11bd2066df601e86 /src/game/SpellAuras.cpp | |
| parent | 0480fa7339a8eeca8f563d936174bc5453aa0f4a (diff) | |
*Remove hack from spell::cast.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
| -rw-r--r-- | src/game/SpellAuras.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 76b22dae176..27cbb0f3098 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -4943,7 +4943,7 @@ void Aura::HandleNoReagentUseAura(bool Apply, bool Real) flag96 mask; Unit::AuraList const& noReagent = m_target->GetAurasByType(SPELL_AURA_NO_REAGENT_USE); for(Unit::AuraList::const_iterator i = noReagent.begin(); i != noReagent.end(); ++i) - mask = (*i)->m_spellProto->EffectSpellClassMask[(*i)->m_effIndex]; + mask |= (*i)->m_spellProto->EffectSpellClassMask[(*i)->m_effIndex]; m_target->SetUInt32Value(PLAYER_NO_REAGENT_COST_1 , mask[0]); m_target->SetUInt32Value(PLAYER_NO_REAGENT_COST_1+1, mask[1]); |
