Merge pull request #88 from ZhengPeiRu21/retroactiveAppearances

Correctly check rewarded quests instead of completed quests
This commit is contained in:
Stefano Borzì
2022-07-08 12:43:39 +02:00
committed by GitHub

View File

@@ -520,7 +520,7 @@ private:
void CheckRetroActiveQuestAppearances(Player* player)
{
QueryResult result = CharacterDatabase.Query("SELECT `quest` FROM `character_queststatus` WHERE `status` = 1 AND `guid` = {}", player->GetGUID().GetCounter());
QueryResult result = CharacterDatabase.Query("SELECT `quest` FROM `character_queststatus_rewarded` WHERE `guid` = {}", player->GetGUID().GetCounter());
if (result)
{
do