aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKudlaty <none@none>2009-08-09 19:40:10 +0200
committerKudlaty <none@none>2009-08-09 19:40:10 +0200
commit197c22bfc82bb6f60cbb97cd08952d7ea4e179f3 (patch)
tree7ead4943a8ebdc4c74ed016f7fcafdcf50558ff8
parent81337a154709a8beae2a0c6964c767a7565abf61 (diff)
Fix despawning Ghuls in script for quest 12698
--HG-- branch : trunk
-rw-r--r--src/bindings/scripts/scripts/zone/eastern_plaguelands/the_scarlet_enclave.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bindings/scripts/scripts/zone/eastern_plaguelands/the_scarlet_enclave.cpp b/src/bindings/scripts/scripts/zone/eastern_plaguelands/the_scarlet_enclave.cpp
index cce758fe9e2..1717b8e619b 100644
--- a/src/bindings/scripts/scripts/zone/eastern_plaguelands/the_scarlet_enclave.cpp
+++ b/src/bindings/scripts/scripts/zone/eastern_plaguelands/the_scarlet_enclave.cpp
@@ -1138,7 +1138,7 @@ struct TRINITY_DLL_DECL npc_dkc1_gothikAI : public ScriptedAI
if(CAST_PLR(owner)->GetQuestStatus(12698) == QUEST_STATUS_INCOMPLETE)
{
DoCast(owner, 52517, true);
- who->setDeathState(DEAD);
+ CAST_CRE(who)->ForcedDespawn();
}
}
}