diff options
author | megamage <none@none> | 2009-05-07 17:30:40 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-07 17:30:40 -0500 |
commit | 51d4303d550cb1ac8bfef86b2b053b6e7c0a0b6f (patch) | |
tree | 06725a1ef7c241d6545532f772caddcd04b66c05 /src | |
parent | e0a6e3aedcd64f7c211ad8e8373e883a11c7f776 (diff) |
*Fix a bug of previous rev.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellAuras.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index b84b19424c0..4e3f60a18d3 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -411,9 +411,9 @@ m_auraSlot(MAX_AURAS), m_auraLevel(1), m_procCharges(0), m_stackAmount(1),m_aura if (m_auraFlags & (uint8(1) << i)) { if (currentBasePoints) - m_partAuras[i]=CreateAuraEffect(this, i,¤tBasePoints[i], caster, NULL, formalCaster); + m_partAuras[i] = CreateAuraEffect(this, i, currentBasePoints + i, caster, NULL, formalCaster); else - m_partAuras[i]=CreateAuraEffect(this, i, NULL , caster, NULL, formalCaster); + m_partAuras[i] = CreateAuraEffect(this, i, NULL, caster, NULL, formalCaster); // correct flags if aura couldn't be created if (!m_partAuras[i]) m_auraFlags &= uint8(~(1<< i)); |