From 5b5bc4c5c7cad020bd831185057451b674c234d8 Mon Sep 17 00:00:00 2001 From: sirikfoll Date: Wed, 17 Jan 2018 00:12:41 -0200 Subject: 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 (cherry picked from commit 72ff2e30c30d4d1b9bf22695b6a097eb82e3c76a) --- src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp index 8e8165c5e66..efa0cc7e5bb 100644 --- a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp +++ b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp @@ -310,8 +310,7 @@ public: void SetGUID(ObjectGuid const& guid, int32 /*id*/) override { - if (!prisonerGUID) - prisonerGUID = guid; + prisonerGUID = guid; } ObjectGuid GetGUID(int32 /*id*/) const override -- cgit v1.2.3