*Fix the bug that cant accept timed quests. Patch by Elron.

--HG--
branch : trunk
This commit is contained in:
Anubisss
2009-10-22 15:51:31 +02:00
parent 9c81b3e51d
commit 2820c7ba11

View File

@@ -13662,7 +13662,7 @@ bool Player::SatisfyQuestStatus( Quest const* qInfo, bool msg )
bool Player::SatisfyQuestTimed(Quest const* qInfo, bool msg)
{
if (m_timedquests.empty() && qInfo->HasFlag(QUEST_TRINITY_FLAGS_TIMED))
if (!m_timedquests.empty() && qInfo->HasFlag(QUEST_TRINITY_FLAGS_TIMED))
{
if (msg)
SendCanTakeQuestResponse(INVALIDREASON_QUEST_ONLY_ONE_TIMED);