aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortreeston <treeston.mmoc@gmail.com>2017-05-27 21:05:26 +0200
committertreeston <treeston.mmoc@gmail.com>2017-05-27 21:05:26 +0200
commit1c528c30f8ca5717c5d9a88dbceb14c31d825036 (patch)
tree0e4fddffd027f373ecdb470a3897351d5d843b88 /src
parentb6a4e9f3f9aca8e82e4b8cc1868e4b24dd2bba6f (diff)
Quickfix a bug introduced by 2f19d97 which prevented GTAoE from being cast.
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Spells/Spell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp
index c1f7cc3459e..abf2821f7ea 100644
--- a/src/server/game/Spells/Spell.cpp
+++ b/src/server/game/Spells/Spell.cpp
@@ -769,7 +769,7 @@ void Spell::SelectSpellTargets()
if (m_spellInfo->IsChanneled())
{
// maybe do this for all spells?
- if (m_UniqueTargetInfo.empty() && m_UniqueGOTargetInfo.empty() && m_UniqueItemInfo.empty())
+ if (m_UniqueTargetInfo.empty() && m_UniqueGOTargetInfo.empty() && m_UniqueItemInfo.empty() && !m_targets.HasDst())
{
SendCastResult(SPELL_FAILED_BAD_IMPLICIT_TARGETS);
finish(false);