diff options
author | ariel- <ariel-@users.noreply.github.com> | 2017-04-23 20:38:14 -0300 |
---|---|---|
committer | ariel- <ariel-@users.noreply.github.com> | 2017-04-23 21:48:06 -0300 |
commit | 3a0cb90ea994e82dd8c70888fb847082f738d5dc (patch) | |
tree | 8e7487040298b2dcded87b877a75057537e5a8a5 /src/server/game/Spells/SpellInfo.cpp | |
parent | b6b0353bff151d180d98f4f7a67414cfca4bd585 (diff) |
Core/Spell: define channels without movement interrupt flags as allowed move
- Remove script hacks no longer needed
Diffstat (limited to 'src/server/game/Spells/SpellInfo.cpp')
-rw-r--r-- | src/server/game/Spells/SpellInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp index 1ab52618054..525f207aab4 100644 --- a/src/server/game/Spells/SpellInfo.cpp +++ b/src/server/game/Spells/SpellInfo.cpp @@ -1243,7 +1243,7 @@ bool SpellInfo::IsChanneled() const bool SpellInfo::IsMoveAllowedChannel() const { - return IsChanneled() && HasAttribute(SPELL_ATTR5_CAN_CHANNEL_WHEN_MOVING); + return IsChanneled() && (HasAttribute(SPELL_ATTR5_CAN_CHANNEL_WHEN_MOVING) || (!(ChannelInterruptFlags & (AURA_INTERRUPT_FLAG_MOVE | AURA_INTERRUPT_FLAG_TURNING)))); } bool SpellInfo::NeedsComboPoints() const |