Use enum for links pocket, dungeon reward shuffle (#2045)

Co-authored-by: briaguya <briaguya@alice>
This commit is contained in:
briaguya 2022-11-29 18:37:53 -05:00 committed by GitHub
parent ec8ec8d322
commit aba034ef53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 8 deletions

View file

@ -97,7 +97,7 @@ void GiveLinkDekuNuts(int howManyNuts) {
}
void GiveLinksPocketItem() {
if (Randomizer_GetSettingValue(RSK_LINKS_POCKET) < 3) {
if (Randomizer_GetSettingValue(RSK_LINKS_POCKET) != RO_LINKS_POCKET_NOTHING) {
GetItemEntry getItemEntry = Randomizer_GetItemFromKnownCheck(RC_LINKS_POCKET, RG_NONE);
if (getItemEntry.modIndex == MOD_NONE) {