diff options
| author | Shauren <shauren.trinity@gmail.com> | 2021-05-16 19:14:23 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2021-05-16 21:56:06 +0200 |
| commit | b9d63c2009c842a12876c2069ba0a3dd7d277f4a (patch) | |
| tree | 26f87a38219aededbceacc6214847d3484bdcb2d /src/server/scripts/EasternKingdoms | |
| parent | 72cfc0ef34857606651292ebf12b44fab0e9a025 (diff) | |
Core/Scripts: Remove deprecated overload of QuestReward without LootItemType argument
Diffstat (limited to 'src/server/scripts/EasternKingdoms')
4 files changed, 4 insertions, 4 deletions
diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/blackrock_depths.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/blackrock_depths.cpp index 57e3d8da81c..8953cad613a 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/blackrock_depths.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/blackrock_depths.cpp @@ -600,7 +600,7 @@ public: EscortAI::UpdateAI(diff); } - void QuestReward(Player* /*player*/, Quest const* quest, uint32 /*item*/) override + void QuestReward(Player* /*player*/, Quest const* quest, LootItemType /*type*/, uint32 /*item*/) override { if (instance->GetData(TYPE_BAR) == DONE || instance->GetData(TYPE_BAR) == SPECIAL) return; diff --git a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp index 513d3b0f0fd..50687a89ac9 100644 --- a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp +++ b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp @@ -890,7 +890,7 @@ class go_loosely_turned_soil : public GameObjectScript return false; } - void QuestReward(Player* player, Quest const* /*quest*/, uint32 /*opt*/) override + void QuestReward(Player* player, Quest const* /*quest*/, LootItemType /*type*/, uint32 /*opt*/) override { if (instance->GetBossState(DATA_HORSEMAN_EVENT) == IN_PROGRESS) return; diff --git a/src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp b/src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp index 00e9b44d0da..0bc222fde12 100644 --- a/src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp +++ b/src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp @@ -266,7 +266,7 @@ class boss_apothecary_hummel : public CreatureScript DoMeleeAttackIfReady(); } - void QuestReward(Player* /*player*/, Quest const* quest, uint32 /*opt*/) override + void QuestReward(Player* /*player*/, Quest const* quest, LootItemType /*type*/, uint32 /*opt*/) override { if (quest->GetQuestId() == QUEST_YOUVE_BEEN_SERVED) DoAction(ACTION_START_EVENT); diff --git a/src/server/scripts/EasternKingdoms/zone_undercity.cpp b/src/server/scripts/EasternKingdoms/zone_undercity.cpp index ba00500a290..17f0b59dee2 100644 --- a/src/server/scripts/EasternKingdoms/zone_undercity.cpp +++ b/src/server/scripts/EasternKingdoms/zone_undercity.cpp @@ -236,7 +236,7 @@ public: DoMeleeAttackIfReady(); } - void QuestReward(Player* player, Quest const* quest, uint32 /*opt*/) override + void QuestReward(Player* player, Quest const* quest, LootItemType /*type*/, uint32 /*opt*/) override { if (quest->GetQuestId() == QUEST_JOURNEY_TO_UNDERCITY) SetGUID(player->GetGUID(), GUID_EVENT_INVOKER); |
