@@ -54,7 +54,7 @@ static HintError calculatePossiblePathLocations(WorldPool& worlds)
5454 // and seeing if taking away the item at each location can still access the goal locations
5555 for (auto & world : worlds)
5656 {
57- for (auto & potentialPathLocation : world.getLocations ( true ))
57+ for (auto & potentialPathLocation : world.getProgressionLocations ( ))
5858 {
5959 const Item itemAtLocation = potentialPathLocation->currentItem ;
6060 if (itemAtLocation.isJunkItem ())
@@ -68,7 +68,7 @@ static HintError calculatePossiblePathLocations(WorldPool& worlds)
6868 // Run a search without the item
6969 runGeneralSearch (worlds);
7070
71- for (auto & location : world.getLocations ( true ))
71+ for (auto & location : world.getProgressionLocations ( ))
7272 {
7373 // If we never reached the goal location, then this location
7474 // is "on the path to" the goal location. Since hints will refer
@@ -85,7 +85,7 @@ static HintError calculatePossiblePathLocations(WorldPool& worlds)
8585 }
8686
8787 #ifdef ENABLE_DEBUG
88- for (auto & location : world.getLocations ( true ))
88+ for (auto & location : world.getProgressionLocations ( ))
8989 {
9090 LOG_TO_DEBUG (" Path locations for " + location->getName () + " [" );
9191 for (auto & pathLocation : location->pathLocations )
@@ -681,7 +681,7 @@ static HintError assignHoHoHints(World& world, WorldPool& worlds, std::list<Hint
681681 // If ho ho is hinting triforces, make those hints now
682682 if (world.getSettings ().ho_ho_triforce_hints )
683683 {
684- for (auto location : world.getLocations ( /* onlyProgression = */ true ))
684+ for (const auto location : world.getProgressionLocations ( ))
685685 {
686686 if (location->currentItem .isTriforceShard ())
687687 {
@@ -765,7 +765,7 @@ static HintError assignKreebHints(World& world, WorldPool& worlds)
765765 // Get all bow locations
766766 // Shuffle locations to prevent any possible meta-gaming where the last bow might be
767767 // since otherwise they'll appear in order of location id
768- auto allLocations = world.getLocations ( /* onlyProgression = */ true );
768+ auto allLocations = world.getProgressionLocations ( );
769769 shufflePool (allLocations);
770770 for (auto & location : allLocations)
771771 {
@@ -782,7 +782,7 @@ static HintError assignKorlSwordHints(World& world, WorldPool& worlds)
782782 // Get all sword locations
783783 // Shuffle locations to prevent any possible meta-gaming where the swords bow might be
784784 // since otherwise they'll appear in order of location id
785- auto allLocations = world.getLocations ( /* onlyProgression = */ true );
785+ auto allLocations = world.getProgressionLocations ( );
786786 shufflePool (allLocations);
787787 for (auto & location : allLocations)
788788 {
0 commit comments