diff options
| author | briaguya <70942617+briaguya-ai@users.noreply.github.com> | 2022-12-06 00:59:48 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-06 00:59:48 -0500 |
| commit | a93728599d9f574fa6b285843e0a89b906b64165 (patch) | |
| tree | d52c91e3ff092254cbb41dfe834a7e90ec8ff46a /soh/src/code | |
| parent | d03e876289ef4ebac7f9a17f1bb37628bc4e0584 (diff) | |
use enum values for maps and compasses (#2086)
Co-authored-by: briaguya <briaguya@alice>
Diffstat (limited to 'soh/src/code')
| -rw-r--r-- | soh/src/code/z_sram.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/soh/src/code/z_sram.c b/soh/src/code/z_sram.c index 02986a918..a483687dc 100644 --- a/soh/src/code/z_sram.c +++ b/soh/src/code/z_sram.c @@ -418,8 +418,7 @@ void Sram_InitSave(FileChooseContext* fileChooseCtx) { INV_CONTENT(ITEM_OCARINA_FAIRY) = ITEM_OCARINA_FAIRY; } - // "Start with" == 0 for Maps and Compasses - if(Randomizer_GetSettingValue(RSK_STARTING_MAPS_COMPASSES) == 0) { + if(Randomizer_GetSettingValue(RSK_STARTING_MAPS_COMPASSES) == RO_DUNGEON_ITEM_LOC_STARTWITH) { uint32_t mapBitMask = 1 << 1; uint32_t compassBitMask = 1 << 2; uint32_t startingDungeonItemsBitMask = mapBitMask | compassBitMask; |
