aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSubv <s.v.h21@hotmail.com>2012-02-14 13:14:51 -0500
committerSubv <s.v.h21@hotmail.com>2012-02-14 13:14:51 -0500
commitd55126aacb784dfefaf9455ab174a50293536399 (patch)
tree4e506d65d837ebf39315b4f36eed8dbb8c670f85 /src
parent12d0e88346ddf05a5f6c3f65e9bfe27f647809d5 (diff)
Core/Spells: Revert erroneous interruption added in 5ea49613d24a - more research required
Diffstat (limited to 'src')
-rwxr-xr-xsrc/server/game/Spells/Spell.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp
index 506f29af10f..80bb8ceb457 100755
--- a/src/server/game/Spells/Spell.cpp
+++ b/src/server/game/Spells/Spell.cpp
@@ -3481,14 +3481,6 @@ void Spell::update(uint32 difftime)
{
if (m_timer > 0)
{
- // Cancel the cast if the target is not in line of sight
- if (m_targets.GetUnitTarget() && !m_caster->IsWithinLOSInMap(m_targets.GetUnitTarget()))
- {
- SendCastResult(SPELL_FAILED_LINE_OF_SIGHT);
- cancel();
- return;
- }
-
if (difftime >= (uint32)m_timer)
m_timer = 0;
else