mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[11976] Fix some spell visuals (for spells like 39179)
This commit is contained in:
parent
1f24d991e3
commit
8433b67599
2 changed files with 4 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11975"
|
||||
#define REVISION_NR "11976"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue