summaryrefslogtreecommitdiff
path: root/soh/src
diff options
context:
space:
mode:
authorAdam Bird <Archez@users.noreply.github.com>2023-06-17 13:08:20 -0400
committerGitHub <noreply@github.com>2023-06-17 13:08:20 -0400
commit6fdfcd2a611a0ce79fbe01fcebfcad56423688e1 (patch)
treed50e94f2a1bfad71af104be82f087f687b88d834 /soh/src
parent5daf5a14ac47989cfe18fde3c9b2b03b718775fb (diff)
More mirror mode fixes and additions (#3009)
* mirror fishing rod * mirror ivan fairy controls * add mirror dungeons only option * mirror sold out GI texture * update dungeons mirror mode for more options * maybe don't include that
Diffstat (limited to 'soh/src')
-rw-r--r--soh/src/overlays/actors/ovl_En_Partner/z_en_partner.c2
-rw-r--r--soh/src/overlays/actors/ovl_Fishing/z_fishing.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/soh/src/overlays/actors/ovl_En_Partner/z_en_partner.c b/soh/src/overlays/actors/ovl_En_Partner/z_en_partner.c
index 29c04b74a..16168d258 100644
--- a/soh/src/overlays/actors/ovl_En_Partner/z_en_partner.c
+++ b/soh/src/overlays/actors/ovl_En_Partner/z_en_partner.c
@@ -574,7 +574,7 @@ void EnPartner_Update(Actor* thisx, PlayState* play) {
Input sControlInput = play->state.input[this->actor.params];
- f32 relX = sControlInput.cur.stick_x / 10.0f;
+ f32 relX = sControlInput.cur.stick_x / 10.0f * (CVarGetInteger("gMirroredWorld", 0) ? -1 : 1);
f32 relY = sControlInput.cur.stick_y / 10.0f;
Vec3f camForward = { GET_ACTIVE_CAM(play)->at.x - GET_ACTIVE_CAM(play)->eye.x, 0.0f,
diff --git a/soh/src/overlays/actors/ovl_Fishing/z_fishing.c b/soh/src/overlays/actors/ovl_Fishing/z_fishing.c
index 8c8dec69b..60fc7fc1c 100644
--- a/soh/src/overlays/actors/ovl_Fishing/z_fishing.c
+++ b/soh/src/overlays/actors/ovl_Fishing/z_fishing.c
@@ -2025,7 +2025,7 @@ void Fishing_DrawRod(PlayState* play) {
spC8 = player->unk_85C - spC8;
spC4 = player->unk_858;
- Math_SmoothStepToF(&player->unk_858, input->rel.stick_x * 0.02f, 0.3f, 5.0f, 0.0f);
+ Math_SmoothStepToF(&player->unk_858, input->rel.stick_x * 0.02f * (CVarGetInteger("gMirroredWorld", 0) ? -1 : 1), 0.3f, 5.0f, 0.0f);
spC4 = player->unk_858 - spC4;
if (player->unk_858 > 1.0f) {