*A temp fix for the bug that weekly quests can be repeated without any limit.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-06-17 21:48:19 -05:00
1 parent 3fab9ff35e
commit bff6fbcf54
3 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -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;