[#1715] Fix crash when retrieving a merchant message while using fast file select (#1722)

This commit is contained in:
Garrett Cox
2022-10-10 02:40:52 -05:00
committed by GitHub
parent aa00cba76e
commit fd3872ae30
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -99,6 +99,7 @@ void SaveManager::LoadRandomizerVersion1() {
std::shared_ptr<Randomizer> randomizer = OTRGlobals::Instance->gRandomizer;
randomizer->LoadRandomizerSettings("");
size_t merchantPricesSize = 0;
if (randomizer->GetRandoSettingValue(RSK_SHUFFLE_SCRUBS) > 0) {
merchantPricesSize += NUM_SCRUBS;