Fix CVar evaluation for scummed checks being hidden. (#3985)

This commit is contained in:
Malkierian 2024-02-28 20:45:16 -07:00 committed by GitHub
parent fb6ea42560
commit ed9cb1dfd2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1337,7 +1337,7 @@ void DrawLocation(RandomizerCheckObject rcObj) {
CVarGetColor("gCheckTrackerSeenMainColor", Color_Main_Default);
extraColor = CVarGetColor("gCheckTrackerSeenExtraColor", Color_Seen_Extra_Default);
} else if (status == RCSHOW_SCUMMED) {
if (!showHidden && CVarGetInteger("gCheckTrackerKnownHide", 0)) {
if (!showHidden && CVarGetInteger("gCheckTrackerScummedHide", 0)) {
return;
}
mainColor = !IsHeartPiece(rcObj.ogItemId) && !IS_RANDO ? CVarGetColor("gCheckTrackerScummedExtraColor", Color_Scummed_Extra_Default) :