Core/Quests: Fixed marking quest objectives as complete clientside for objectives using flagging instead of counters
Port From (https://github.com/TrinityCore/TrinityCore/commit/e3a9b18567866ab5b309758168fbe4ce579b30f3)
This commit is contained in:
@@ -763,7 +763,7 @@ namespace Game.Entities
|
||||
if (!objectiveItr.IsStoringFlag())
|
||||
SetQuestSlotCounter(slot, objectiveIndex, (ushort)data);
|
||||
else if (data != 0)
|
||||
SetQuestSlotState(slot, (QuestSlotStateMask)(256 << objectiveIndex));
|
||||
SetQuestSlotObjectiveFlag(slot, (sbyte)objectiveIndex);
|
||||
}
|
||||
else
|
||||
Log.outError(LogFilter.Player, "Player {0} ({1}) has quest {2} out of range objective index {3}.", GetName(), GetGUID().ToString(), questID, objectiveIndex);
|
||||
|
||||
Reference in New Issue
Block a user