diff options
| author | PurpleHato <linkvssangoku.jr@gmail.com> | 2022-06-13 22:57:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-13 16:57:08 -0400 |
| commit | 2a1145785eaef8d9ab52cc3ef3293e4fe77fb0bd (patch) | |
| tree | a4cedc441b65ac7169a2680c1c215d7dd0ec6c98 | |
| parent | 04bb9cd48ea91ed8577c26945735f0de1b9af8ad (diff) | |
Tweak: Draw Distance Kokiri menu behavior (#459)
* ADDED: Draw Distance toggle under Experimental enhancement
* FIXED: Dark Link Apparition + Kokiri NPC spawn
* Added a Toggle for Kokiri NPC since they are mystics
* TWKEA: Desciription got the Kokiri draw distance
* FIXED: Horses behavior
Fixed Epona shout on title screen + Epona call from songFixed Zelda and Ganon horses that could still be seen on camera pan on the castle escape cinematic
* Tweak: Draw Distance: Kokiris menu behavior
Force the Kokiri Draw Distance to be set to 0 if the Draw Distance is disabled
| -rw-r--r-- | libultraship/libultraship/SohImGuiImpl.cpp | 4 |
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"); } |
