fix(Core/Player): Solve the issue with creature not offering low level quests (#9862)

This commit is contained in:
Skjalf 2021-12-23 15:26:58 -03:00 committed by GitHub
parent 43fcd168cf
commit a72d299f68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1697,13 +1697,15 @@ QuestGiverStatus Player::GetQuestDialogStatus(Object* questgiver)
}
}
}
else if (isNotLowLevelQuest)
else
{
result2 = DIALOG_STATUS_AVAILABLE;
result2 = isNotLowLevelQuest ? DIALOG_STATUS_AVAILABLE : DIALOG_STATUS_LOW_LEVEL_AVAILABLE;
}
}
else
{
result2 = DIALOG_STATUS_UNAVAILABLE;
}
}
}