diff --git a/src/game/Spells/Spell.cpp b/src/game/Spells/Spell.cpp index 01f08b88e..d6ac62178 100644 --- a/src/game/Spells/Spell.cpp +++ b/src/game/Spells/Spell.cpp @@ -991,9 +991,11 @@ void Spell::SelectImplicitChannelTargets(SpellEffIndex effIndex, SpellImplicitTa AddUnitTarget(target->ToUnit(), 1 << effIndex); } else + { #if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS) sLog->outDebug(LOG_FILTER_SPELLS_AURAS, "SPELL: cannot find channel spell target for spell ID %u, effect %u", m_spellInfo->Id, effIndex); #endif + } break; } case TARGET_DEST_CHANNEL_TARGET: @@ -1006,9 +1008,11 @@ void Spell::SelectImplicitChannelTargets(SpellEffIndex effIndex, SpellImplicitTa m_targets.SetDst(*target); } else //if (!m_targets.HasDst()) + { #if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS) sLog->outDebug(LOG_FILTER_SPELLS_AURAS, "SPELL: cannot find channel spell destination for spell ID %u, effect %u", m_spellInfo->Id, effIndex); #endif + } break; case TARGET_DEST_CHANNEL_CASTER: if (GetOriginalCaster())