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

This commit is contained in:
Schmoozerd 2012-04-23 12:49:08 +02:00
parent 1f24d991e3
commit 8433b67599
2 changed files with 4 additions and 1 deletions

View file

@ -2815,6 +2815,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 file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11975"
#define REVISION_NR "11976"
#endif // __REVISION_NR_H__