diff options
| author | HelloKitty <andrew.blakely@ymail.com> | 2021-04-14 07:22:14 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-14 14:22:14 +0200 |
| commit | 730c2633e084f87427481550c5543f7a544c3f2a (patch) | |
| tree | acb53eadc3cdc4ba6200fecdb1f16cf4c2b2039e /src | |
| parent | d22dcd1f6e95a85180536639723b642a8922b866 (diff) | |
Scripts/RazorfenDowns: Fix Belnistrasz Incorrect Usage of GOSSIP_OPTION_QUESTGIVER (#26404)
NPC was using GOSSIP_OPTION_QUESTGIVER as a UNIT_NPC_FLAGS when it should have been using UNIT_NPC_FLAG_QUESTGIVER.
Behavior shouldn't change though as they both coincidentally were 2.
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/scripts/Kalimdor/RazorfenDowns/razorfen_downs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Kalimdor/RazorfenDowns/razorfen_downs.cpp b/src/server/scripts/Kalimdor/RazorfenDowns/razorfen_downs.cpp index 2b2a89c7dce..f88160a72e3 100644 --- a/src/server/scripts/Kalimdor/RazorfenDowns/razorfen_downs.cpp +++ b/src/server/scripts/Kalimdor/RazorfenDowns/razorfen_downs.cpp @@ -105,7 +105,7 @@ public: channeling = false; eventProgress = 0; spawnerCount = 0; - me->SetFlag(UNIT_NPC_FLAGS, GOSSIP_OPTION_QUESTGIVER); + me->SetFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_QUESTGIVER); } } @@ -134,7 +134,7 @@ public: { eventInProgress = true; Talk(SAY_QUEST_ACCEPTED); - me->RemoveFlag(UNIT_NPC_FLAGS, GOSSIP_OPTION_QUESTGIVER); + me->RemoveFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_QUESTGIVER); me->SetFaction(FACTION_ESCORTEE_N_NEUTRAL_ACTIVE); me->GetMotionMaster()->MovePath(PATH_ESCORT, false); } |
