From a1bba62e881facd06881ebd9a9f3d012a0418ce7 Mon Sep 17 00:00:00 2001 From: VladimirMangos Date: Thu, 24 Dec 2009 15:51:15 +0300 Subject: [PATCH] [9056] Not exclude real caster from TARGET_ALL_ENEMY_IN_AREA_INSTANT. Not found cases when this need for affected case (without 27/28 effects) --- src/game/Spell.cpp | 3 --- src/shared/revision_nr.h | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index b4c2a665e..2308ddd00 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -1617,9 +1617,6 @@ void Spell::SetTargetMap(uint32 effIndex,uint32 targetMode,UnitList& TagUnitMap) break; default: FillAreaTargets(TagUnitMap,m_targets.m_destX, m_targets.m_destY,radius,PUSH_DEST_CENTER,SPELL_TARGETS_AOE_DAMAGE); - - // exclude caster (this can be important if this not original caster) - TagUnitMap.remove(m_caster); break; } break; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 343a65f99..3baa7bca2 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 "9055" + #define REVISION_NR "9056" #endif // __REVISION_NR_H__