aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-02-02 17:42:05 +0100
committerQAston <none@none>2009-02-02 17:42:05 +0100
commitdca9c4cc1f0229ab97dbe4e6e8486deaef978fcf (patch)
tree4fe72671366d1f04e669beeb11bd2066df601e86 /src/game/SpellAuras.cpp
parent0480fa7339a8eeca8f563d936174bc5453aa0f4a (diff)
*Remove hack from spell::cast.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp2
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]);