aboutsummaryrefslogtreecommitdiff
path: root/src/bindings/scripts
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-22 11:37:59 -0600
committermegamage <none@none>2009-03-22 11:37:59 -0600
commit708449298efbf50783c6cf09fbea22196c7bd315 (patch)
treeefa8d7b730a697710101f2d10708df2686ae7eb5 /src/bindings/scripts
parentae7a8a09718115b291d18929c098c5082ee0fda8 (diff)
parent763c81de3cb3e144276f850ffa12265bf92d0d03 (diff)
*Merge.
--HG-- branch : trunk
Diffstat (limited to 'src/bindings/scripts')
-rw-r--r--src/bindings/scripts/scripts/zone/hellfire_citadel/blood_furnace/boss_kelidan_the_breaker.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bindings/scripts/scripts/zone/hellfire_citadel/blood_furnace/boss_kelidan_the_breaker.cpp b/src/bindings/scripts/scripts/zone/hellfire_citadel/blood_furnace/boss_kelidan_the_breaker.cpp
index 2f8e2738fee..31485690e46 100644
--- a/src/bindings/scripts/scripts/zone/hellfire_citadel/blood_furnace/boss_kelidan_the_breaker.cpp
+++ b/src/bindings/scripts/scripts/zone/hellfire_citadel/blood_furnace/boss_kelidan_the_breaker.cpp
@@ -175,7 +175,10 @@ struct TRINITY_DLL_DECL boss_kelidan_the_breakerAI : public ScriptedAI
Creature *channeler = (Creature*)Unit::GetUnit(*m_creature, Channelers[i]);
if(!channeler || channeler->isDead())
channeler = m_creature->SummonCreature(ENTRY_CHANNELER,ShadowmoonChannelers[i][0],ShadowmoonChannelers[i][1],ShadowmoonChannelers[i][2],ShadowmoonChannelers[i][3],TEMPSUMMON_CORPSE_TIMED_DESPAWN,300000);
- Channelers[i] = channeler->GetGUID();
+ if(channeler)
+ Channelers[i] = channeler->GetGUID();
+ else
+ Channelers[i] = 0;
}
}