mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-25 02:42:18 -05:00
Restore Hover Fishing bug from 1.0
This commit is contained in:
parent
24567eeeb6
commit
e4fe289f70
@ -950,6 +950,8 @@ namespace SohImGui {
|
|||||||
{
|
{
|
||||||
EnhancementCheckbox("Red Ganon blood", "gRedGanonBlood");
|
EnhancementCheckbox("Red Ganon blood", "gRedGanonBlood");
|
||||||
Tooltip("Restore the original red blood from NTSC 1.0/1.1. Disable for green blood");
|
Tooltip("Restore the original red blood from NTSC 1.0/1.1. Disable for green blood");
|
||||||
|
EnhancementCheckbox("Fish while hovering", "gHoverFishing");
|
||||||
|
Tooltip("Restore a bug from NTSC 1.0 that allows casting the Fishing Rod while using the Hover Boots");
|
||||||
|
|
||||||
ImGui::EndMenu();
|
ImGui::EndMenu();
|
||||||
}
|
}
|
||||||
|
@ -26,6 +26,7 @@ void BootCommands_Init()
|
|||||||
CVar_RegisterS32("gPauseLiveLink", 0);
|
CVar_RegisterS32("gPauseLiveLink", 0);
|
||||||
CVar_RegisterS32("gMinimalUI", 0);
|
CVar_RegisterS32("gMinimalUI", 0);
|
||||||
CVar_RegisterS32("gRedGanonBlood", 0);
|
CVar_RegisterS32("gRedGanonBlood", 0);
|
||||||
|
CVar_RegisterS32("gHoverFishing", 0);
|
||||||
CVar_RegisterS32("gRumbleEnabled", 0);
|
CVar_RegisterS32("gRumbleEnabled", 0);
|
||||||
CVar_RegisterS32("gUniformLR", 0);
|
CVar_RegisterS32("gUniformLR", 0);
|
||||||
CVar_RegisterS32("gTwoHandedIdle", 0);
|
CVar_RegisterS32("gTwoHandedIdle", 0);
|
||||||
|
@ -5470,8 +5470,8 @@ s32 func_8083C6B8(GlobalContext* globalCtx, Player* this) {
|
|||||||
sp24 = this->actor.world.pos;
|
sp24 = this->actor.world.pos;
|
||||||
sp24.y += 50.0f;
|
sp24.y += 50.0f;
|
||||||
|
|
||||||
if (!(this->actor.bgCheckFlags & 1) || (this->actor.world.pos.z > 1300.0f) ||
|
if (CVar_GetS32("gHoverFishing", 0) ? 0 : !(this->actor.bgCheckFlags & 1) ||
|
||||||
BgCheck_SphVsFirstPoly(&globalCtx->colCtx, &sp24, 20.0f)) {
|
(this->actor.world.pos.z > 1300.0f) || BgCheck_SphVsFirstPoly(&globalCtx->colCtx, &sp24, 20.0f)) {
|
||||||
func_80078884(NA_SE_SY_ERROR);
|
func_80078884(NA_SE_SY_ERROR);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user