From 3b5f3c2ebf69b0c9ace4a89f2f47880a6d0f5f90 Mon Sep 17 00:00:00 2001 From: sirikfoll Date: Wed, 17 Jan 2018 00:12:41 -0200 Subject: [PATCH] Scripts/Scarlet Enclave: Quest The Endless Hunger will work correctly after Unworthy Initiate Respawn Due to dynamic spawns, we need to be able to update the Npc GUID after the respawn, otherwise the quest can only be completed by the first player --- src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp index 72f5962456..2c014f5cbd 100644 --- a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp +++ b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp @@ -307,8 +307,7 @@ public: void SetGUID(ObjectGuid const& guid, int32 /*id*/) override { - if (!prisonerGUID) - prisonerGUID = guid; + prisonerGUID = guid; } ObjectGuid GetGUID(int32 /*id*/) const override