Skip to content

fix: place Song of Time before removing songs from item pool#164

Closed
ScArWlvrne wants to merge 1 commit into
Z3DR:mainfrom
ScArWlvrne:ScAr_wlvrne/SongOfTimeLogicFix
Closed

fix: place Song of Time before removing songs from item pool#164
ScArWlvrne wants to merge 1 commit into
Z3DR:mainfrom
ScArWlvrne:ScAr_wlvrne/SongOfTimeLogicFix

Conversation

@ScArWlvrne

Copy link
Copy Markdown

fill.cpp originally built the songs vector on line 880 using FilterAndEraseFromPool(). This led to the Song of Time being removed from the item pool prior to the block beginning on line 883 that was intended to place it in a location within a subset of locations considered reachable during first cycle. This PR moves the building of the songs vector to line 903, after the placing of the Song of Time and Ocarina of Time, immediately before placing other songs, in order to ensure the Song of Time is placed in a valid location.

…e it's put in a location in the category cNoOcarinaStart
@ScArWlvrne ScArWlvrne closed this Jun 9, 2026
@ScArWlvrne

Copy link
Copy Markdown
Author

There's a simpler way to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant