Fixes crash (#1798)
This commit is contained in:
@@ -563,7 +563,7 @@ void Draw_ItemsSkills(){
|
|||||||
ResetTrailLength("gTrailDuration", 4);
|
ResetTrailLength("gTrailDuration", 4);
|
||||||
UIWidgets::EnhancementCheckbox("Swords use separate colors", "gSeperateSwords");
|
UIWidgets::EnhancementCheckbox("Swords use separate colors", "gSeperateSwords");
|
||||||
if (CVar_GetS32("gSeperateSwords", 0) && ImGui::CollapsingHeader("Individual Sword Colors")) {
|
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("Kokiri Sword", FlagsCell, TablesCellsWidth / 2);
|
||||||
ImGui::TableSetupColumn("Master Sword", FlagsCell, TablesCellsWidth / 2);
|
ImGui::TableSetupColumn("Master Sword", FlagsCell, TablesCellsWidth / 2);
|
||||||
ImGui::TableSetupColumn("Biggoron Sword", FlagsCell, TablesCellsWidth / 2);
|
ImGui::TableSetupColumn("Biggoron Sword", FlagsCell, TablesCellsWidth / 2);
|
||||||
|
|||||||
Reference in New Issue
Block a user