*Fix a bug of previous rev.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-07 17:30:40 -05:00
parent e0a6e3aedc
commit 51d4303d55
+1 -1
View File
@@ -411,7 +411,7 @@ m_auraSlot(MAX_AURAS), m_auraLevel(1), m_procCharges(0), m_stackAmount(1),m_aura
if (m_auraFlags & (uint8(1) << i)) if (m_auraFlags & (uint8(1) << i))
{ {
if (currentBasePoints) if (currentBasePoints)
m_partAuras[i]=CreateAuraEffect(this, i,&currentBasePoints[i], caster, NULL, formalCaster); m_partAuras[i] = CreateAuraEffect(this, i, currentBasePoints + i, caster, NULL, formalCaster);
else 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 // correct flags if aura couldn't be created