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
This commit is contained in:
sirikfoll
2018-01-17 00:12:41 -02:00
parent ccf0807be0
commit 72ff2e30c3

View File

@@ -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