Skip to content

Commit

Permalink
[10722] Fill target map for TARGET_RANDOM_NEARBY_DEST(b) cases.
Browse files Browse the repository at this point in the history
Corrects ~35 spells, where most has summon effects.

Signed-off-by: NoFantasy <nofantasy@nf.no>
  • Loading branch information
NoFantasy committed Nov 14, 2010
1 parent a4c4eef commit c25fa47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/game/Spell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,7 @@ void Spell::FillTargetMap()
case TARGET_POINT_AT_NW:
case TARGET_POINT_AT_SE:
case TARGET_POINT_AT_SW:
case TARGET_RANDOM_NEARBY_DEST:
// need some target for processing
SetTargetMap(SpellEffectIndex(i), m_spellInfo->EffectImplicitTargetA[i], tmpUnitMap);
SetTargetMap(SpellEffectIndex(i), m_spellInfo->EffectImplicitTargetB[i], tmpUnitMap);
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10721"
#define REVISION_NR "10722"
#endif // __REVISION_NR_H__

0 comments on commit c25fa47

Please sign in to comment.