Fixes crash (#1798) (#1806)

(cherry picked from commit 30c66439a4)

Co-authored-by: RaelCappra <rael.cappra@gmail.com>
This commit is contained in:
mergify[bot] 2022-10-19 23:12:50 -04:00 committed by GitHub
parent 4173eadae2
commit 57ba36b063
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -472,7 +472,7 @@ void Draw_ItemsSkills(){
ResetTrailLength("gTrailDuration", 4);
UIWidgets::EnhancementCheckbox("Swords use separate colors", "gSeperateSwords");
if (CVar_GetS32("gSeperateSwords", 0) && ImGui::CollapsingHeader("Individual Sword Colors")) {
if (ImGui::BeginTable("tabletrailswords", 2, FlagsTable)) {
if (ImGui::BeginTable("tabletrailswords", 5, FlagsTable)) {
ImGui::TableSetupColumn("Kokiri Sword", FlagsCell, TablesCellsWidth / 2);
ImGui::TableSetupColumn("Master Sword", FlagsCell, TablesCellsWidth / 2);
ImGui::TableSetupColumn("Biggoron Sword", FlagsCell, TablesCellsWidth / 2);