From 803a834b0d91adafe76e3ecbed9119d19ebe12f3 Mon Sep 17 00:00:00 2001 From: megamage Date: Sat, 3 Jan 2009 11:00:15 -0600 Subject: *Mangos [7012] Fix use SpellVisual data. --HG-- branch : trunk --- src/game/Spell.cpp | 2 +- src/game/SpellAuras.cpp | 2 +- src/shared/revision_nr.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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__ -- cgit v1.2.3