aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r--src/game/Spell.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index c5d6e748668..e9e79cb1594 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -5093,6 +5093,10 @@ bool Spell::CheckTarget( Unit* target, uint32 eff, bool hitPhase )
return false;
}
+ //Do not check LOS for triggered spells
+ if(m_IsTriggeredSpell)
+ return true;
+
//Check targets for LOS visibility (except spells without range limitations )
switch(m_spellInfo->Effect[eff])
{