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.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index fb871a789e9..f0947a66e5d 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -3164,6 +3164,9 @@ void Spell::_handle_immediate_phase()
// process ground
for (uint32 j = 0; j < 3; ++j)
{
+ if (m_spellInfo->Effect[j] == 0)
+ continue;
+
if (EffectTargetType[m_spellInfo->Effect[j]] == SPELL_REQUIRE_DEST)
{
if (!m_targets.HasDst()) // FIXME: this will ignore dest set in effect