use shopsanity enum (#2054)

* enums for rainbow bridge

* reorder enum

* use enums for shopsanity

* remove space

Co-authored-by: briaguya <briaguya@alice>
This commit is contained in:
briaguya
2022-11-30 00:30:51 -05:00
committed by GitHub
parent e193f0dc0e
commit d6c528d9d0
7 changed files with 20 additions and 18 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ void SaveManager::LoadRandomizerVersion1() {
if (randomizer->GetRandoSettingValue(RSK_SHUFFLE_SCRUBS) > 0) {
merchantPricesSize += NUM_SCRUBS;
}
if (randomizer->GetRandoSettingValue(RSK_SHOPSANITY) > 0) {
if (randomizer->GetRandoSettingValue(RSK_SHOPSANITY) != RO_SHOPSANITY_OFF) {
merchantPricesSize += NUM_SHOP_ITEMS;
}