From 2697c61b928b7759046f13d3a24e157353668291 Mon Sep 17 00:00:00 2001 From: Anthony Stewart Date: Wed, 26 Feb 2025 18:54:57 -0600 Subject: [PATCH] Don't add locations to the pool when calculating accessible checks. --- soh/soh/Enhancements/randomizer/3drando/fill.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/soh/soh/Enhancements/randomizer/3drando/fill.cpp b/soh/soh/Enhancements/randomizer/3drando/fill.cpp index 27a2e11b2..a7609cc93 100644 --- a/soh/soh/Enhancements/randomizer/3drando/fill.cpp +++ b/soh/soh/Enhancements/randomizer/3drando/fill.cpp @@ -399,14 +399,14 @@ bool AddCheckToLogic(LocationAccess& locPair, GetAccessibleLocationsStruct& gals RandomizerGet locItem = location->GetPlacedRandomizerGet(); if (!location->IsAddedToPool() && locPair.ConditionsMet(parentRegion, gals.calculatingAccessibleChecks)) { - location->AddToPool(); - if (gals.calculatingAccessibleChecks) { gals.accessibleLocations.push_back(loc); StopPerformanceTimer(PT_LOCATION_LOGIC); return false; } + location->AddToPool(); + if (locItem == RG_NONE) { gals.accessibleLocations.push_back(loc); //Empty location, consider for placement } else { @@ -504,7 +504,7 @@ std::vector ReachabilitySearch(const std::vector