*Fix a crash caused by boss_fathomguard script.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-06-17 15:44:18 -05:00
parent 2d569883e6
commit 9676c5eddf
2 changed files with 4 additions and 2 deletions
@@ -642,8 +642,6 @@ struct TRINITY_DLL_DECL boss_fathomguard_caribdisAI : public ScriptedAI
if (TidalSurge_Timer < diff)
{
DoCast(m_creature->getVictim(), SPELL_TIDAL_SURGE);
// Hacky way to do it - won't trigger elseways
m_creature->getVictim()->CastSpell( m_creature->getVictim(), SPELL_TIDAL_SURGE_FREEZE, true );
TidalSurge_Timer = 15000+rand()%5000;
}else TidalSurge_Timer -= diff;