Added TARGET_UNIT_AREA_SCRIPT target to the list of target types using custom targets defined in spell_script_target.

--HG--
branch : trunk
This commit is contained in:
gvcoman
2008-11-17 18:47:24 -05:00
parent 478ca47083
commit 4cd86b2ed5

View File

@@ -1530,6 +1530,7 @@ void Spell::SetTargetMap(uint32 i,uint32 cur,std::list<Unit*> &TagUnitMap)
}break;
case TARGET_SCRIPT:
case TARGET_SCRIPT_COORDINATES:
case TARGET_UNIT_AREA_SCRIPT:
{
SpellScriptTarget::const_iterator lower = spellmgr.GetBeginSpellScriptTarget(m_spellInfo->Id);
SpellScriptTarget::const_iterator upper = spellmgr.GetEndSpellScriptTarget(m_spellInfo->Id);