diff options
| author | megamage <none@none> | 2009-05-07 17:21:07 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-05-07 17:21:07 -0500 |
| commit | e0a6e3aedcd64f7c211ad8e8373e883a11c7f776 (patch) | |
| tree | 7787b9f0d5aadf9e3be25f7152ba8be9cad29b8c /src/game/SpellAuras.cpp | |
| parent | 22eeafa996110fe3b81f3a9824009f80e97391c4 (diff) | |
*Simply some writing of array pointer in aura functions.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
| -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 b8d742c7f35..b84b19424c0 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -410,8 +410,8 @@ m_auraSlot(MAX_AURAS), m_auraLevel(1), m_procCharges(0), m_stackAmount(1),m_aura { if (m_auraFlags & (uint8(1) << i)) { - if (¤tBasePoints[0]) - m_partAuras[i]=CreateAuraEffect(this, i,¤tBasePoints[0]+i, caster, NULL, formalCaster); + if (currentBasePoints) + m_partAuras[i]=CreateAuraEffect(this, i,¤tBasePoints[i], caster, NULL, formalCaster); else m_partAuras[i]=CreateAuraEffect(this, i, NULL , caster, NULL, formalCaster); // correct flags if aura couldn't be created |
