Skip to content

Commit

Permalink
Quest/Player: Do not display visible quests above maxlevel as grey qu…
Browse files Browse the repository at this point in the history
…estion mark
  • Loading branch information
killerwife committed May 21, 2022
1 parent 51621b5 commit 9950aa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Entities/Player.cpp
Expand Up @@ -14048,7 +14048,7 @@ bool Player::CanSeeStartQuest(Quest const* pQuest) const
int32 highLevelDiff = sWorld.getConfig(CONFIG_INT32_QUEST_HIGH_LEVEL_HIDE_DIFF);
if (highLevelDiff < 0)
return true;
return GetLevel() + uint32(highLevelDiff) >= pQuest->GetMinLevel();
return (GetLevel() + uint32(highLevelDiff) >= pQuest->GetMinLevel()) && GetLevel() <= pQuest->GetMaxLevel();
}

return false;
Expand Down

0 comments on commit 9950aa3

Please sign in to comment.