diff options
| author | n0n4m3 <none@none> | 2010-04-15 08:26:30 +0400 |
|---|---|---|
| committer | n0n4m3 <none@none> | 2010-04-15 08:26:30 +0400 |
| commit | 8abcca0a06d48d4c9d7039bf7a6b27c57f7eb878 (patch) | |
| tree | 849deb42364506716453fd34131d4fea0af972f8 /src/game/QuestHandler.cpp | |
| parent | 6bcb297de4d5231373a3e2bf2b40e527b91cdf46 (diff) | |
Another fix quest flags, Implement support weekly quests cooldowns(Original patch by GriffonHeart), also code cleanups.
--HG--
branch : trunk
Diffstat (limited to 'src/game/QuestHandler.cpp')
| -rw-r--r-- | src/game/QuestHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/QuestHandler.cpp b/src/game/QuestHandler.cpp index 53bb4335169..c7632cf10f0 100644 --- a/src/game/QuestHandler.cpp +++ b/src/game/QuestHandler.cpp @@ -619,7 +619,7 @@ uint32 WorldSession::getDialogStatus(Player *pPlayer, Object* questgiver, uint32 result2 = DIALOG_STATUS_REWARD_REP; else if (pPlayer->getLevel() <= ((pPlayer->GetQuestLevel(pQuest) == -1) ? pPlayer->getLevel() : pPlayer->GetQuestLevel(pQuest) + sWorld.getConfig(CONFIG_QUEST_LOW_LEVEL_HIDE_DIFF))) { - if (pQuest->IsDaily()) + if (pQuest->HasFlag(QUEST_FLAGS_DAILY) || pQuest->HasFlag(QUEST_FLAGS_WEEKLY)) result2 = DIALOG_STATUS_AVAILABLE_REP; else result2 = DIALOG_STATUS_AVAILABLE; |
