aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsirikfoll <sirikfoll@hotmail.com>2018-01-17 00:12:41 -0200
committersirikfoll <sirikfoll@hotmail.com>2018-01-17 00:12:41 -0200
commit72ff2e30c30d4d1b9bf22695b6a097eb82e3c76a (patch)
treecede746f236a2849677d7b1c970ae5081035e4ec
parentccf0807be0974dfb8080cb2fc6ea616cc96f062c (diff)
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
-rw-r--r--src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp
index fa5f243897a..b873b71e03b 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