diff options
author | megamage <none@none> | 2008-11-21 23:26:16 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-11-21 23:26:16 -0600 |
commit | f905c21dd2c048930edee1e277930f1dceae55a7 (patch) | |
tree | 08902f849b76d76c4267a48999df0fca4a5db219 /src | |
parent | 063208485700904ebb6a3a77803b9c91d692daf8 (diff) |
*Also search worldobjectlist for active creature when spell target is target_entry.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Spell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 9f2a0cd33e0..3d15278bcb8 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -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)); |