aboutsummaryrefslogtreecommitdiff
path: root/src/game/QuestDef.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/QuestDef.h')
-rw-r--r--src/game/QuestDef.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/QuestDef.h b/src/game/QuestDef.h
index 57c0df30e00..a6f1592fe03 100644
--- a/src/game/QuestDef.h
+++ b/src/game/QuestDef.h
@@ -140,7 +140,7 @@ enum __QuestFlags
QUEST_FLAGS_AUTOCOMPLETE = 0x00010000, // auto complete
QUEST_FLAGS_UNK5 = 0x00020000, // has something to do with ReqItemId and SrcItemId
QUEST_FLAGS_UNK6 = 0x00040000, // use Objective text as Complete text
- QUEST_FLAGS_LOW_LEVEL = 0x00080000, // quests in starting areas
+ QUEST_FLAGS_AUTO_ACCEPT = 0x00080000, // quests in starting areas
// Trinity flags for set SpecialFlags in DB if required but used only at server
QUEST_TRINITY_FLAGS_REPEATABLE = 0x010000, // Set by 1 in SpecialFlags from DB
@@ -239,7 +239,9 @@ class Quest
bool IsRepeatable() const { return QuestFlags & QUEST_TRINITY_FLAGS_REPEATABLE; }
bool IsAutoComplete() const { return QuestMethod ? false : true; }
uint32 GetFlags() const { return QuestFlags; }
- bool IsDaily() const { return QuestFlags & (QUEST_FLAGS_DAILY | QUEST_FLAGS_WEEKLY); }
+ bool IsDaily() const { return QuestFlags & (QUEST_FLAGS_DAILY; }
+ bool IsWeekly() const { return QuestFlags & QUEST_FLAGS_WEEKLY; }
+ bool IsAutoAccept() const { return QuestFlags & QUEST_FLAGS_AUTO_ACCEPT; }
// multiple values
std::string ObjectiveText[QUEST_OBJECTIVES_COUNT];