*Do not check LOS for triggered spells.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-01-08 14:29:07 -06:00
parent 08bb6082d9
commit a8d74dfb36

View File

@@ -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])
{