*Fix the bug that cant accept timed quests. Patch by Elron.
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -13662,7 +13662,7 @@ bool Player::SatisfyQuestStatus( Quest const* qInfo, bool msg )
|
|||||||
|
|
||||||
bool Player::SatisfyQuestTimed(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)
|
if (msg)
|
||||||
SendCanTakeQuestResponse(INVALIDREASON_QUEST_ONLY_ONE_TIMED);
|
SendCanTakeQuestResponse(INVALIDREASON_QUEST_ONLY_ONE_TIMED);
|
||||||
|
|||||||
Reference in New Issue
Block a user