aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRat <none@none>2009-08-09 17:21:30 +0200
committerRat <none@none>2009-08-09 17:21:30 +0200
commita57bc8018c39c74cdf9ae080d68729187d266640 (patch)
treeee6b97d149323630f6af4dbca4aca15e007f216c
parentfba08ab4a8851f7932c82e5b6cc7d8504835442c (diff)
*fix Leotheras the Blind Channeler reset(visual is still bugged)
!please delete all Greyheart Spellbinders (21806) from the instance, they are still summoned by script! --HG-- branch : trunk
-rw-r--r--src/bindings/scripts/scripts/zone/coilfang_resevoir/serpent_shrine/boss_leotheras_the_blind.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/bindings/scripts/scripts/zone/coilfang_resevoir/serpent_shrine/boss_leotheras_the_blind.cpp b/src/bindings/scripts/scripts/zone/coilfang_resevoir/serpent_shrine/boss_leotheras_the_blind.cpp
index 3b6316412a5..243cf223157 100644
--- a/src/bindings/scripts/scripts/zone/coilfang_resevoir/serpent_shrine/boss_leotheras_the_blind.cpp
+++ b/src/bindings/scripts/scripts/zone/coilfang_resevoir/serpent_shrine/boss_leotheras_the_blind.cpp
@@ -210,14 +210,9 @@ struct TRINITY_DLL_DECL boss_leotheras_the_blindAI : public ScriptedAI
for(uint8 i = 0; i < 3; i++)
{
Creature *add = Unit::GetCreature(*m_creature,SpellBinderGUID[i]);
- if (add && add->isAlive())
- {
- add->setDeathState(DEAD);
- add->RemoveCorpse();
- }else{
- if(add && add->isDead())
- add->RemoveCorpse();
- }
+ if (add)
+ add->RemoveFromWorld();
+
float nx = x;
float ny = y;
float o = 2.4f;