aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;