diff options
author | megamage <none@none> | 2009-01-03 11:00:15 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-01-03 11:00:15 -0600 |
commit | 803a834b0d91adafe76e3ecbed9119d19ebe12f3 (patch) | |
tree | a37102e8ff5fa0c0377182d212ade3eeeee460f1 | |
parent | fa00f43c5c597da6c13e51522695b2ec8e972cf9 (diff) |
*Mangos [7012] Fix use SpellVisual data.
--HG--
branch : trunk
-rw-r--r-- | src/game/Spell.cpp | 2 | ||||
-rw-r--r-- | src/game/SpellAuras.cpp | 2 | ||||
-rw-r--r-- | src/shared/revision_nr.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index add65b0cdab..30978ac6d99 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -5331,7 +5331,7 @@ Unit* Spell::SelectMagnetTarget() bool Spell::IsNeedSendToClient() const { - return m_spellInfo->SpellVisual!=0 || IsChanneledSpell(m_spellInfo) || + return m_spellInfo->SpellVisual[0] || m_spellInfo->SpellVisual[1] || IsChanneledSpell(m_spellInfo) || m_spellInfo->speed > 0.0f || !m_triggeredByAuraSpell && !m_IsTriggeredSpell; } diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 5770a68690d..6a403e74b86 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -3974,7 +3974,7 @@ void Aura::HandlePeriodicDamage(bool apply, bool Real) case SPELLFAMILY_GENERIC: { // Pounce Bleed - if ( m_spellProto->SpellIconID == 147 && m_spellProto->SpellVisual == 0 ) + if ( m_spellProto->SpellIconID == 147 && m_spellProto->SpellVisual[0] == 0 ) { // $AP*0.18/6 bonus per tick if (apply && !loading && caster) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 839c6d8681a..db510b27791 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7011" + #define REVISION_NR "7012" #endif // __REVISION_NR_H__ |