[9835] Fix broken compilation after [9831]. Thanks to VladimirMangos.

This commit is contained in:
Laise 2010-05-04 19:51:43 +03:00
parent 9c6b53aca9
commit 6726a08b48
2 changed files with 2 additions and 2 deletions

View file

@ -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++);

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9834"
#define REVISION_NR "9835"
#endif // __REVISION_NR_H__