Skip to content

Commit

Permalink
[11541] TARGET_CURRENT_ENEMY_COORDINATES/TARGET_ALL_ENEMY_IN_AREA_INS…
Browse files Browse the repository at this point in the history
…TANT pair code duplication.

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

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
  • Loading branch information
breakwater authored and VladimirMangos committed May 26, 2011
1 parent c144524 commit 90c804b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/game/Spell.cpp
Expand Up @@ -2393,8 +2393,6 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList&
{
targetUnitMap.push_back(currentTarget);
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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11540"
#define REVISION_NR "11541"
#endif // __REVISION_NR_H__

0 comments on commit 90c804b

Please sign in to comment.