From 91b91b502f30f781c8dea77dec4ce2f469b89744 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sun, 9 May 2021 20:21:32 +0200 Subject: Core/Quests: Quest improvements * Add quest log slot argument to functions dealing with objective progress * Implemented QUEST_OBJECTIVE_FLAG_SEQUENCED (prevent progressing hidden objectives) --- src/server/scripts/Northrend/zone_sholazar_basin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts') 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()); -- cgit v1.2.3