Core/Player: Rename GetQuestSlotObjectiveData to GetQuestObjectiveData
Port From (https://github.com/TrinityCore/TrinityCore/commit/38a80d7566e7a919ad5ab0bcd8b93aab52174e73)
This commit is contained in:
@@ -2237,7 +2237,7 @@ namespace Game.Entities
|
|||||||
return GetQuestSlotObjectiveFlag(slot, objective.StorageIndex) ? 1 : 0;
|
return GetQuestSlotObjectiveFlag(slot, objective.StorageIndex) ? 1 : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int GetQuestSlotObjectiveData(uint questId, uint objectiveId)
|
public int GetQuestObjectiveData(uint questId, uint objectiveId)
|
||||||
{
|
{
|
||||||
ushort slot = FindQuestSlot(questId);
|
ushort slot = FindQuestSlot(questId);
|
||||||
if (slot >= SharedConst.MaxQuestLogSize)
|
if (slot >= SharedConst.MaxQuestLogSize)
|
||||||
|
|||||||
Reference in New Issue
Block a user