From de67b0b13c7a824ca02a216f0f8ca14e76b3d9bf Mon Sep 17 00:00:00 2001 From: briaguya Date: Mon, 30 May 2022 21:37:12 -0400 Subject: [PATCH] didn't mean to check that in --- soh/soh/Enhancements/randomizer.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/soh/soh/Enhancements/randomizer.cpp b/soh/soh/Enhancements/randomizer.cpp index 591c116a0..bcf77375a 100644 --- a/soh/soh/Enhancements/randomizer.cpp +++ b/soh/soh/Enhancements/randomizer.cpp @@ -1164,11 +1164,7 @@ void Randomizer::ParseItemLocations(const char* spoilerFileName) { int index = 0; for (auto it = hashJson.begin(); it != hashJson.end(); ++it) { - std::string blarg = it.value(); - Sprite seedSprite = gSeedTextures[blarg]; - int indexBlarg = index; - blarg = indexBlarg; - gSaveContext.seedIcons[indexBlarg] = seedSprite; + gSaveContext.seedIcons[index] = gSeedTextures[it.value()]; index++; }