post merge fixes

This commit is contained in:
Pepper0ni 2024-04-30 12:02:20 +01:00
parent d85da5daed
commit 010c80727d
1 changed files with 5 additions and 1 deletions

View File

@ -459,7 +459,11 @@ void GeneratePlaythrough() {
}
for (auto& exit : region->exits) {
ProcessExit(exit, gals);
if(exit.IsShuffled() && !exit.IsAddedToPool() && !ctx->GetEntranceShuffler()->HasNoRandomEntrances()) {
// Add shuffled entrances to the entrance playthrough
// Include bluewarps when unshuffled but dungeon or boss shuffle is on
if((exit.IsShuffled() || (exit.GetType() == Rando::EntranceType::BlueWarp &&
(ctx->GetOption(RSK_SHUFFLE_DUNGEON_ENTRANCES) || ctx->GetOption(RSK_SHUFFLE_BOSS_ENTRANCES)))) &&
!exit.IsAddedToPool() && !ctx->GetEntranceShuffler()->HasNoRandomEntrances()) {
gals.entranceSphere.push_back(&exit);
exit.AddToPool();
// Don't list a two-way coupled entrance from both directions