mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-14 09:03:00 -07:00
use enum values for maps and compasses (#2086)
Co-authored-by: briaguya <briaguya@alice>
This commit is contained in:
parent
d03e876289
commit
a93728599d
4 changed files with 16 additions and 11 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue