summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-10-19 23:12:50 -0400
committerGitHub <noreply@github.com>2022-10-19 23:12:50 -0400
commit57ba36b06312e80d7b9ba71c3bf1b7f6397cf27e (patch)
tree7748bebcf4ad15b99a761a3fd287a3b5b61ff5e1
parent4173eadae2291b2853a268e965097c9305f126d5 (diff)
Fixes crash (#1798) (#1806)
(cherry picked from commit 30c66439a4f842d3ec5ce73f9cd689fcf4b8490b) Co-authored-by: RaelCappra <rael.cappra@gmail.com>
-rw-r--r--soh/soh/Enhancements/cosmetics/CosmeticsEditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/soh/soh/Enhancements/cosmetics/CosmeticsEditor.cpp b/soh/soh/Enhancements/cosmetics/CosmeticsEditor.cpp
index d167ec8b3..7c465110a 100644
--- a/soh/soh/Enhancements/cosmetics/CosmeticsEditor.cpp
+++ b/soh/soh/Enhancements/cosmetics/CosmeticsEditor.cpp
@@ -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);