Core/Quests: Update Quest::IsAutoComplete

(Fixes an issue with "Candy Bucket" quests)
Closes #3554
Closes #3569
This commit is contained in:
Nay committed 2011-10-20 17:53:46 +01:00
1 parent ddec56b3e0
commit 361b447f62
2 files changed
+6 -1

No files matched your search

+5
View File
@@ -205,6 +205,11 @@ int32 Quest::GetRewOrReqMoney() const
return int32(RewOrReqMoney * sWorld->getRate(RATE_DROP_MONEY));
}
bool Quest::IsAutoComplete() const
{
return QuestMethod == 0 || HasFlag(QUEST_FLAGS_AUTOCOMPLETE);
}
bool Quest::IsAllowedInRaid() const
{
if (IsRaidQuest())