mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[9835] Fix broken compilation after [9831]. Thanks to VladimirMangos.
This commit is contained in:
parent
9c6b53aca9
commit
6726a08b48
2 changed files with 2 additions and 2 deletions
|
|
@ -1745,7 +1745,7 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList&
|
|||
else
|
||||
{
|
||||
// remove not targetable units if spell has no script targets
|
||||
for (UnitList::const_iterator itr = targetUnitMap.begin(); itr != targetUnitMap.end(); )
|
||||
for (UnitList::iterator itr = targetUnitMap.begin(); itr != targetUnitMap.end(); )
|
||||
{
|
||||
if (!(*itr)->isTargetableForAttack(m_spellInfo->AttributesEx3 & SPELL_ATTR_EX3_CAST_ON_DEAD))
|
||||
targetUnitMap.erase(itr++);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9834"
|
||||
#define REVISION_NR "9835"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue