Forgot to limit slider from 1-6 rather than 0-6

This commit is contained in:
Christopher Leggett 2022-08-27 15:53:57 -04:00
parent 4d8bfa97c0
commit dbd8909d26
No known key found for this signature in database
GPG Key ID: 7093AE5FF7037D79

View File

@ -3408,7 +3408,7 @@ void DrawRandoEditor(bool& open) {
SohImGui::EnhancementCombobox("gRandomizeGanonTrial", randoGanonsTrial, 3, 0); SohImGui::EnhancementCombobox("gRandomizeGanonTrial", randoGanonsTrial, 3, 0);
if (CVar_GetS32("gRandomizeGanonTrial", 0) == 1) { if (CVar_GetS32("gRandomizeGanonTrial", 0) == 1) {
SohImGui::EnhancementSliderInt("Ganon's Trial Count: %d", "##RandoTrialCount", SohImGui::EnhancementSliderInt("Ganon's Trial Count: %d", "##RandoTrialCount",
"gRandomizeGanonTrialCount", 0, 6, "", 6); "gRandomizeGanonTrialCount", 1, 6, "", 6);
InsertHelpHoverText("Set the number of trials required to enter Ganon's Tower." InsertHelpHoverText("Set the number of trials required to enter Ganon's Tower."
"The specific trials you need to complete will be randomly selected."); "The specific trials you need to complete will be randomly selected.");
} }