Skip to content

Commit

Permalink
[s1563] Fix some spell visuals (for spells like 39179)
Browse files Browse the repository at this point in the history
(based on commit 8893404)

Signed-off-by: Nighoo <nighoo@gmail.com>
  • Loading branch information
Schmoozerd authored and Nighoo committed Apr 25, 2012
1 parent 538325d commit 164c46a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/game/Spell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
Original file line number Diff line number Diff line change
@@ -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.