diff --git a/soh/soh/Enhancements/randomizer/3drando/menu.cpp b/soh/soh/Enhancements/randomizer/3drando/menu.cpp index 820c5066d0..a0886da62f 100644 --- a/soh/soh/Enhancements/randomizer/3drando/menu.cpp +++ b/soh/soh/Enhancements/randomizer/3drando/menu.cpp @@ -20,11 +20,11 @@ bool GenerateRandomizer(std::set excludedLocations, std::set 18) { int count; diff --git a/soh/soh/Enhancements/randomizer/3drando/playthrough.cpp b/soh/soh/Enhancements/randomizer/3drando/playthrough.cpp index 4ee635323c..6b58bc8019 100644 --- a/soh/soh/Enhancements/randomizer/3drando/playthrough.cpp +++ b/soh/soh/Enhancements/randomizer/3drando/playthrough.cpp @@ -94,11 +94,11 @@ int Playthrough_Repeat(std::set excludedLocations, std::setSetSeedString(std::string(seedString)); repeatedSeed = SohUtils::Hash(ctx->GetSeedString()); ctx->SetSeed(repeatedSeed); diff --git a/soh/soh/SohGui/SohMenuRandomizer.cpp b/soh/soh/SohGui/SohMenuRandomizer.cpp index 24274a4d3d..d6b7a99d44 100644 --- a/soh/soh/SohGui/SohMenuRandomizer.cpp +++ b/soh/soh/SohGui/SohMenuRandomizer.cpp @@ -563,7 +563,7 @@ void SohMenu::AddMenuRandomizer() { for (size_t i = 0; i < 10; i++) { seedString[i] = '0' + ShipUtils::Random(0, 10); } - seedString[11] = '\0'; + seedString[10] = '\0'; } ImGui::SameLine(); if (UIWidgets::Button(ICON_FA_ERASER, UIWidgets::ButtonOptions()