From 197c22bfc82bb6f60cbb97cd08952d7ea4e179f3 Mon Sep 17 00:00:00 2001 From: Kudlaty Date: Sun, 9 Aug 2009 19:40:10 +0200 Subject: Fix despawning Ghuls in script for quest 12698 --HG-- branch : trunk --- .../scripts/scripts/zone/eastern_plaguelands/the_scarlet_enclave.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(); } } } -- cgit v1.2.3