Add vanilla logic option (#2191)

This commit is contained in:
Garrett Cox 2023-12-04 17:29:48 +00:00 committed by GitHub
parent a8c18882f0
commit 2d22a3ebcc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 136 additions and 51 deletions

View file

@ -1127,7 +1127,7 @@ void LoadSettings() {
}
bool IsVisibleInCheckTracker(RandomizerCheckObject rcObj) {
if (IS_RANDO) {
if (IS_RANDO && OTRGlobals::Instance->gRandomizer->GetRandoSettingValue(RSK_LOGIC_RULES) != RO_LOGIC_VANILLA) {
return
(rcObj.rcArea != RCAREA_INVALID) && // don't show Invalid locations
(rcObj.rcType != RCTYPE_GOSSIP_STONE) && //TODO: Don't show hints until tracker supports them