aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2008-11-28 09:58:47 -0600
committermegamage <none@none>2008-11-28 09:58:47 -0600
commit1d6e33add4f41ba07d5bd9115b1fe8c52ebb6d21 (patch)
treef8ac916785b3a7fb7ff80d7f55adba0a82fe5e11
parentc72bf6e8c40e5b826c5d2d79bd19fae6386919e7 (diff)
*Do not let Cthun crash the server.
--HG-- branch : trunk
-rw-r--r--src/bindings/scripts/scripts/zone/temple_of_ahnqiraj/boss_cthun.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bindings/scripts/scripts/zone/temple_of_ahnqiraj/boss_cthun.cpp b/src/bindings/scripts/scripts/zone/temple_of_ahnqiraj/boss_cthun.cpp
index b789f68e9aa..d1dfbf8d79e 100644
--- a/src/bindings/scripts/scripts/zone/temple_of_ahnqiraj/boss_cthun.cpp
+++ b/src/bindings/scripts/scripts/zone/temple_of_ahnqiraj/boss_cthun.cpp
@@ -335,7 +335,7 @@ struct TRINITY_DLL_DECL eye_of_cthunAI : public Scripted_NoMovementAI
m_creature->StopMoving();
//Actual dark glare cast, maybe something missing here?
- m_creature->CastSpell(NULL, SPELL_DARK_GLARE, false);
+ m_creature->CastSpell(m_creature, SPELL_DARK_GLARE, false);
//Increase tick
DarkGlareTick++;