aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorQAston <none@none>2009-07-07 19:35:52 +0200
committerQAston <none@none>2009-07-07 19:35:52 +0200
commitb5efa983516cd9815cf0342da4cdefeb63ac0457 (patch)
treecaa694a548c791ead3bf52ca7d1412a44312a0ea /src
parent8d1abccd87644416b808b7cc6c7fa004dec0cbd0 (diff)
*Fix amount display bug of not charged auras.
--HG-- branch : trunk
Diffstat (limited to 'src')
-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 e28e3c1b656..84755b8036e 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -960,7 +960,7 @@ void Aura::SendAuraUpdate()
data << uint32(GetId());
data << uint8(m_auraFlags);
data << uint8(m_auraLevel);
- data << uint8(m_stackAmount > 1 ? m_stackAmount : m_procCharges);
+ data << uint8(m_stackAmount > 1 ? m_stackAmount : (m_procCharges) ? m_procCharges : 1);
if(!(m_auraFlags & AFLAG_CASTER))
{