mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 14:23:44 -07:00
Added a Toggle for Kokiri NPC since they are mystics
This commit is contained in:
parent
247bbd9604
commit
c95dbf578b
2 changed files with 5 additions and 1 deletions
|
@ -764,6 +764,10 @@ 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) {
|
||||
EnhancementCheckbox("Kokiri Draw Distance", "gDisableKokiriDrawDistance");
|
||||
Tooltip("Kokiris are mystical being that appear from a certain distance\nEnable this will remove their draw distance");
|
||||
}
|
||||
|
||||
ImGui::EndMenu();
|
||||
}
|
||||
|
|
|
@ -1053,7 +1053,7 @@ void func_80A98CD8(EnKo* this) {
|
|||
this->actor.targetMode = info->targetMode;
|
||||
this->lookDist = info->lookDist;
|
||||
this->lookDist += this->collider.dim.radius;
|
||||
this->appearDist = CVar_GetS32("gDisableDrawDistance", 0) != 0 ? 32767 : info->appearDist;
|
||||
this->appearDist = CVar_GetS32("gDisableKokiriDrawDistance", 0) != 0 ? 32767 : info->appearDist;
|
||||
}
|
||||
|
||||
// Used to fetch actor animation?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue