mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-10 20:19:49 +01:00
Core/Quests: Quest improvements
* Add quest log slot argument to functions dealing with objective progress * Implemented QUEST_OBJECTIVE_FLAG_SEQUENCED (prevent progressing hidden objectives)
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user