aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2021-05-09 20:21:32 +0200
committerShauren <shauren.trinity@gmail.com>2021-05-09 20:21:32 +0200
commit91b91b502f30f781c8dea77dec4ce2f469b89744 (patch)
treeec4b30e134e7390c833d5a9612eea036263beec6 /src/server/scripts
parentdd8aed421a48225b0e60c677969d1fc133954279 (diff)
Core/Quests: Quest improvements
* Add quest log slot argument to functions dealing with objective progress * Implemented QUEST_OBJECTIVE_FLAG_SEQUENCED (prevent progressing hidden objectives)
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/Northrend/zone_sholazar_basin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Northrend/zone_sholazar_basin.cpp b/src/server/scripts/Northrend/zone_sholazar_basin.cpp
index 1e8a13dbc33..f83c55b201c 100644
--- a/src/server/scripts/Northrend/zone_sholazar_basin.cpp
+++ b/src/server/scripts/Northrend/zone_sholazar_basin.cpp
@@ -342,7 +342,7 @@ public:
if (uint32(quest->Objectives[i].ObjectID) != me->GetEntry())
continue;
- if (player->GetQuestObjectiveData(quest, i) != 0)
+ if (player->GetQuestObjectiveData(quest->Objectives[i]) != 0)
continue;
player->KilledMonsterCredit(me->GetEntry());