From a8d74dfb360e511e360e8b9af4f72105dbba995e Mon Sep 17 00:00:00 2001 From: megamage Date: Thu, 8 Jan 2009 14:29:07 -0600 Subject: *Do not check LOS for triggered spells. --HG-- branch : trunk --- src/game/Spell.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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]) { -- cgit v1.2.3