diff options
| author | SeTM <set@wowacadem.ru> | 2011-05-28 21:53:32 +0700 |
|---|---|---|
| committer | tobmaps <spambot42@yandex.ru> | 2011-05-28 21:53:32 +0700 |
| commit | fade2383ccebe7a3cce060e00a1a45fa28f1bd3a (patch) | |
| tree | 8a239acf09ee885cbf41a14c684595ac600ac984 /src/server/game/Spells | |
| parent | df619d8da1c906af57d479355ac03c6d2b4d3719 (diff) | |
Core/Spells: Implemented SPELL_ATTR5_HIDE_DURATION. Duration of auras with this attribute will not be displayed clientside
Diffstat (limited to 'src/server/game/Spells')
| -rwxr-xr-x | src/server/game/Spells/Auras/SpellAuras.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp index e96ab1fcbc0..e41b5385619 100755 --- a/src/server/game/Spells/Auras/SpellAuras.cpp +++ b/src/server/game/Spells/Auras/SpellAuras.cpp @@ -195,7 +195,7 @@ void AuraApplication::ClientUpdate(bool remove) Aura const * aura = GetBase(); data << uint32(aura->GetId()); uint32 flags = m_flags; - if (aura->GetMaxDuration() > 0) + if (aura->GetMaxDuration() > 0 && !(aura->GetSpellProto()->AttributesEx5 & SPELL_ATTR5_HIDE_DURATION)) flags |= AFLAG_DURATION; data << uint8(flags); data << uint8(aura->GetCasterLevel()); |
