aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r--src/game/Spell.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 33467e75ad6..7aeb0159e9d 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -420,6 +420,8 @@ void Spell::FillTargetMap()
if(effectTargetType != SPELL_REQUIRE_UNIT)
{
+ if(effectTargetType == SPELL_REQUIRE_CASTER)
+ AddUnitTarget(m_caster, i);
if(effectTargetType == SPELL_REQUIRE_DEST)
{
if(m_targets.HasDest() && m_spellInfo->speed > 0.0f)