From 533ee9379addc019a1c622c6a03c6271508f81e5 Mon Sep 17 00:00:00 2001 From: Malkierian Date: Wed, 15 Mar 2023 19:46:30 -0700 Subject: [PATCH] Balanced Shopsanity Bugfix (#2640) * Fixes settings bug with Balanced shopsanity prices from Shopsanity Affordable Update. * Wrong location * Updated fixed comment --- soh/soh/Enhancements/randomizer/3drando/shops.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/soh/soh/Enhancements/randomizer/3drando/shops.cpp b/soh/soh/Enhancements/randomizer/3drando/shops.cpp index 3cfaa01ad..4049ee628 100644 --- a/soh/soh/Enhancements/randomizer/3drando/shops.cpp +++ b/soh/soh/Enhancements/randomizer/3drando/shops.cpp @@ -150,8 +150,8 @@ int GetPriceAffordable() { } int GetRandomShopPrice() { - // If Affordable is enabled, no need to set randomizer max price - if (Settings::ShopsanityPricesAffordable.Is(true)) { + // If Shopsanity prices aren't Balanced, but Affordable is on, don't GetPriceFromMax + if (Settings::ShopsanityPricesAffordable.Is(true) && Settings::ShopsanityPrices.IsNot(RO_SHOPSANITY_PRICE_BALANCED)) { return GetPriceAffordable(); }