aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRat <none@none>2009-11-02 09:38:38 +0100
committerRat <none@none>2009-11-02 09:38:38 +0100
commitc3cf0d2d8966710ec51735b45ff6fbf50397d87b (patch)
treec4494835d1a23025e700dc75c400da260cb99e3b
parent411656cf45abddf339dfa1d454bbc7f0c4f52795 (diff)
*fix Kalecgos reset bug
--HG-- branch : trunk
-rw-r--r--src/bindings/scripts/scripts/eastern_kingdoms/sunwell_plateau/boss_kalecgos.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bindings/scripts/scripts/eastern_kingdoms/sunwell_plateau/boss_kalecgos.cpp b/src/bindings/scripts/scripts/eastern_kingdoms/sunwell_plateau/boss_kalecgos.cpp
index 0fc61faece8..3f61d5285a2 100644
--- a/src/bindings/scripts/scripts/eastern_kingdoms/sunwell_plateau/boss_kalecgos.cpp
+++ b/src/bindings/scripts/scripts/eastern_kingdoms/sunwell_plateau/boss_kalecgos.cpp
@@ -360,6 +360,8 @@ struct TRINITY_DLL_DECL boss_kalecgosAI : public ScriptedAI
void MovementInform(uint32 type,uint32 id)
{
+ if(type != POINT_MOTION_TYPE)
+ return;
me->SetVisibility(VISIBILITY_OFF);
if (isFriendly)
me->setDeathState(JUST_DIED);