summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libultraship/libultraship/SohImGuiImpl.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libultraship/libultraship/SohImGuiImpl.cpp b/libultraship/libultraship/SohImGuiImpl.cpp
index 3c7f046fb..587e17e9b 100644
--- a/libultraship/libultraship/SohImGuiImpl.cpp
+++ b/libultraship/libultraship/SohImGuiImpl.cpp
@@ -1007,7 +1007,9 @@ namespace SohImGui {
Tooltip("Turns off the level of detail setting, making models always use their higher poly variants");
EnhancementCheckbox("Disable Draw Distance", "gDisableDrawDistance");
Tooltip("Turns off the objects draw distance, making objects being visible from a longer range");
- if (CVar_GetS32("gDisableDrawDistance", 0) == 1) {
+ if (CVar_GetS32("gDisableDrawDistance", 0) == 0) {
+ CVar_SetS32("gDisableKokiriDrawDistance", 0);
+ } else if (CVar_GetS32("gDisableDrawDistance", 0) == 1) {
EnhancementCheckbox("Kokiri Draw Distance", "gDisableKokiriDrawDistance");
Tooltip("Kokiris are mystical being that appear from a certain distance\nEnable this will remove their draw distance\nNeeds to reload the map to take effect");
}