Skip to content
Browse files

[s1563] Fix some spell visuals (for spells like 39179)

(based on commit 8893404)

Signed-off-by: Nighoo <nighoo@gmail.com>
  • Loading branch information...
1 parent 538325d commit 164c46adf6d5c88e61668f43788b77ac44b5074b @Schmoozerd Schmoozerd committed with Apr 25, 2012
Showing with 4 additions and 1 deletion.
  1. +3 −0 src/game/Spell.cpp
  2. +1 −1 src/shared/revision_nr.h
View
3 src/game/Spell.cpp
@@ -2467,6 +2467,9 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList&
targetUnitMap.push_back(m_targets.getUnitTarget());
break;
}
+ // Add AoE target-mask to self, if no target-dest provided already
+ if ((m_targets.m_targetMask & TARGET_FLAG_DEST_LOCATION) == 0)
+ m_targets.setDestination(m_caster->GetPositionX(), m_caster->GetPositionY(), m_caster->GetPositionZ());
break;
}
case SPELL_EFFECT_BIND:
View
2 src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
- #define REVISION_NR "1562"
+ #define REVISION_NR "1563"
#endif // __REVISION_NR_H__

0 comments on commit 164c46a

Please sign in to comment.
Something went wrong with that request. Please try again.