*Also search worldobjectlist for active creature when spell target is target_entry.
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -1280,7 +1280,7 @@ void Spell::SearchAreaTarget(std::list<Unit*> &TagUnitMap, float radius, const u
|
||||
|
||||
Trinity::SpellNotifierCreatureAndPlayer notifier(*this, TagUnitMap, radius, type, TargetType, entry);
|
||||
|
||||
if(TargetType != SPELL_TARGETS_ENTRY)
|
||||
//if(TargetType != SPELL_TARGETS_ENTRY)
|
||||
{
|
||||
TypeContainerVisitor<Trinity::SpellNotifierCreatureAndPlayer, WorldTypeMapContainer > world_object_notifier(notifier);
|
||||
cell_lock->Visit(cell_lock, world_object_notifier, *MapManager::Instance().GetMap(m_caster->GetMapId(), m_caster));
|
||||
|
||||
Reference in New Issue
Block a user