aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2011-03-23 13:48:22 +0100
committerShauren <shauren.trinity@gmail.com>2011-03-23 13:48:46 +0100
commit839680a6e90839c8b46867de60ba254d7d902bb8 (patch)
treea2d202a303d1a50f3e00280d697f0a44c0f1574f /src
parent6629d7ad4127ffe98b7771c480d7ca5ee7ba1d94 (diff)
Revert "Core/Spells: Check Line of Sight every channel spell tick"
This reverts commit 91946254662e8fc9d1c6078c23c315c61e7e59b1. This is not blizzlike
Diffstat (limited to 'src')
-rwxr-xr-xsrc/server/game/Spells/Spell.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp
index b2c6d70f1a7..a091f9cbfdf 100755
--- a/src/server/game/Spells/Spell.cpp
+++ b/src/server/game/Spells/Spell.cpp
@@ -4841,9 +4841,9 @@ SpellCastResult Spell::CheckCast(bool strict)
}
}
- // recheck LoS every channel tick
- if ((!m_IsTriggeredSpell || (m_triggeredByAuraSpell && IsChanneledSpell(m_triggeredByAuraSpell))) && VMAP::VMapFactory::checkSpellForLoS(m_spellInfo->Id) && !m_caster->IsWithinLOSInMap(target))
+ if (!m_IsTriggeredSpell && VMAP::VMapFactory::checkSpellForLoS(m_spellInfo->Id) && !m_caster->IsWithinLOSInMap(target))
return SPELL_FAILED_LINE_OF_SIGHT;
+
}
else if (m_caster == target)
{