aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgvcoman <none@none>2008-11-17 18:47:24 -0500
committergvcoman <none@none>2008-11-17 18:47:24 -0500
commit4cd86b2ed5fd320dd1adbbd64338513ef0d4a001 (patch)
tree8314f6e5c3642808d73991c8d0f3121669c38c24
parent478ca470836b4f28935b1a26f89337a09ed3f3dc (diff)
Added TARGET_UNIT_AREA_SCRIPT target to the list of target types using custom targets defined in spell_script_target.
--HG-- branch : trunk
-rw-r--r--src/game/Spell.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 64e9ba04bcc..c3670686679 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -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);