aboutsummaryrefslogtreecommitdiff
path: root/src/game/QuestHandler.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-17 21:48:19 -0500
committermegamage <none@none>2009-06-17 21:48:19 -0500
commitbff6fbcf54361dd67a897a59a335cdd037e030dd (patch)
tree1bf4cff97e1798a5aeaa35d141ca36cab0153a03 /src/game/QuestHandler.cpp
parent3fab9ff35e1d8a80872223e05655d04d7f56945c (diff)
*A temp fix for the bug that weekly quests can be repeated without any limit.
--HG-- branch : trunk
Diffstat (limited to 'src/game/QuestHandler.cpp')
-rw-r--r--src/game/QuestHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/QuestHandler.cpp b/src/game/QuestHandler.cpp
index 1efbc859198..b2478860c61 100644
--- a/src/game/QuestHandler.cpp
+++ b/src/game/QuestHandler.cpp
@@ -591,7 +591,7 @@ uint32 WorldSession::getDialogStatus(Player *pPlayer, Object* questgiver, uint32
result2 = DIALOG_STATUS_REWARD_REP;
else if (pPlayer->getLevel() <= pPlayer->GetQuestLevel(pQuest) + sWorld.getConfig(CONFIG_QUEST_LOW_LEVEL_HIDE_DIFF) )
{
- if (pQuest->HasFlag(QUEST_FLAGS_DAILY))
+ if (pQuest->IsDaily())
result2 = DIALOG_STATUS_AVAILABLE_REP;
else
result2 = DIALOG_STATUS_AVAILABLE;