From bf774f49cec12e6119cbf9c70b504ff0f72c50e4 Mon Sep 17 00:00:00 2001 From: NoFantasy Date: Sun, 14 Nov 2010 17:35:01 +0100 Subject: [PATCH] [10722] Fill target map for TARGET_RANDOM_NEARBY_DEST(b) cases. Corrects ~35 spells, where most has summon effects. Signed-off-by: NoFantasy --- src/game/Spell.cpp | 1 + src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 8d9026162..f44fe49e4 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -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); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index c7f953d52..55e71a091 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "10721" + #define REVISION_NR "10722" #endif // __REVISION_NR_H__