[11541] TARGET_CURRENT_ENEMY_COORDINATES/TARGET_ALL_ENEMY_IN_AREA_INSTANT pair code duplication.

Default way proccessing will work fine, so drop special case in code.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
breakwater 2011-05-26 04:11:46 +04:00 committed by VladimirMangos
parent 2b79599986
commit 6b66f12a67
2 changed files with 1 additions and 3 deletions

View file

@ -2393,8 +2393,6 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList&
{ {
targetUnitMap.push_back(currentTarget); targetUnitMap.push_back(currentTarget);
m_targets.setDestination(currentTarget->GetPositionX(), currentTarget->GetPositionY(), currentTarget->GetPositionZ()); m_targets.setDestination(currentTarget->GetPositionX(), currentTarget->GetPositionY(), currentTarget->GetPositionZ());
if(m_spellInfo->EffectImplicitTargetB[effIndex] == TARGET_ALL_ENEMY_IN_AREA_INSTANT)
FillAreaTargets(targetUnitMap, radius, PUSH_TARGET_CENTER, SPELL_TARGETS_AOE_DAMAGE);
} }
break; break;
} }

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "11540" #define REVISION_NR "11541"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__