Enhancement Toggle - Disable Automatic First Person Mode for Bombchus (#2471)
* Update z_camera.c * Revert "Update z_camera.c" * Update GameMenuBar.cpp Added tickbox for NoFPChus * Update z_player.c Added check for Disable First Person Bomchus enhancement * Update z_player.c Removed comment as statement is clear on its own * Update GameMenuBar.cpp
This commit is contained in:
@@ -411,6 +411,8 @@ namespace GameMenuBar {
|
|||||||
UIWidgets::Tooltip("Helps FW persist between ages, gives child and adult separate FW points, and can be used in more places.");
|
UIWidgets::Tooltip("Helps FW persist between ages, gives child and adult separate FW points, and can be used in more places.");
|
||||||
UIWidgets::PaddedEnhancementCheckbox("Static Explosion Radius", "gStaticExplosionRadius", true, false);
|
UIWidgets::PaddedEnhancementCheckbox("Static Explosion Radius", "gStaticExplosionRadius", true, false);
|
||||||
UIWidgets::Tooltip("Explosions are now a static size, like in Majora's Mask and OoT3D. Makes bombchu hovering much easier.");
|
UIWidgets::Tooltip("Explosions are now a static size, like in Majora's Mask and OoT3D. Makes bombchu hovering much easier.");
|
||||||
|
UIWidgets::PaddedEnhancementCheckbox("Prevent Bombchus Forcing First-Person", "gDisableFirstPersonChus", true, false);
|
||||||
|
UIWidgets::Tooltip("Prevent bombchus from forcing the camera into first-person mode when released.");
|
||||||
ImGui::EndMenu();
|
ImGui::EndMenu();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9374,7 +9374,7 @@ void func_808464B0(Player* this, PlayState* play) {
|
|||||||
heldActor->velocity.y = 0.0f;
|
heldActor->velocity.y = 0.0f;
|
||||||
heldActor->speedXZ = 0.0f;
|
heldActor->speedXZ = 0.0f;
|
||||||
func_80834644(play, this);
|
func_80834644(play, this);
|
||||||
if (heldActor->id == ACTOR_EN_BOM_CHU) {
|
if (heldActor->id == ACTOR_EN_BOM_CHU && !CVarGetInteger("gDisableFirstPersonChus", 0)) {
|
||||||
func_8083B8F4(this, play);
|
func_8083B8F4(this, play);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user