From 30c66439a4f842d3ec5ce73f9cd689fcf4b8490b Mon Sep 17 00:00:00 2001 From: RaelCappra Date: Wed, 19 Oct 2022 23:06:06 -0300 Subject: [PATCH] Fixes crash (#1798) --- soh/soh/Enhancements/cosmetics/CosmeticsEditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soh/soh/Enhancements/cosmetics/CosmeticsEditor.cpp b/soh/soh/Enhancements/cosmetics/CosmeticsEditor.cpp index 95cef14c1..8f2db4c6d 100644 --- a/soh/soh/Enhancements/cosmetics/CosmeticsEditor.cpp +++ b/soh/soh/Enhancements/cosmetics/CosmeticsEditor.cpp @@ -563,7 +563,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);