Core/Quests: Resolve ambiguity between QUEST_STATUS_COMPLETED and rewarded state by implementing QUEST_STATUS_REWARDED. The latter is not used in the database explicitly, only in the core. This is to prevent overhead by iterating over the rewarded quests storage multiple times.
All relevant upper level code has been updated accordingly to the best of my ability.
This commit is contained in:
@@ -100,6 +100,7 @@ enum QuestStatus
|
||||
QUEST_STATUS_INCOMPLETE = 3,
|
||||
//QUEST_STATUS_AVAILABLE = 4,
|
||||
QUEST_STATUS_FAILED = 5,
|
||||
QUEST_STATUS_REWARDED = 6, // Not used in DB
|
||||
MAX_QUEST_STATUS
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user