Core/Quests: Update Quest::IsAutoComplete

(Fixes an issue with "Candy Bucket" quests)
Closes #3554
Closes #3569
This commit is contained in:
Nay
2011-10-20 17:53:46 +01:00
parent ddec56b3e0
commit 361b447f62
2 changed files with 6 additions and 1 deletions
+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())