From 911550550f136a7251a17de2786dfe839087ec03 Mon Sep 17 00:00:00 2001 From: feacur Date: Thu, 14 Nov 2024 01:12:16 +0100 Subject: [PATCH] link two `if` parts with and `else` https://github.com/zeldaret/oot/pull/2295#discussion_r1841272907 --- src/overlays/actors/ovl_En_Go2/z_en_go2.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/overlays/actors/ovl_En_Go2/z_en_go2.c b/src/overlays/actors/ovl_En_Go2/z_en_go2.c index 22c1df61b1..80495501e6 100644 --- a/src/overlays/actors/ovl_En_Go2/z_en_go2.c +++ b/src/overlays/actors/ovl_En_Go2/z_en_go2.c @@ -1029,9 +1029,7 @@ s32 EnGo2_IsRollingOnGround(EnGo2* this, s16 bounceCount, f32 boundSpeed, s16 ru if (DECR(this->bounceTimer)) { if (!rumble) { return true; - } - - { + } else { this->actor.world.pos.y = (this->bounceTimer & 1) ? this->actor.world.pos.y + 1.5f : this->actor.world.pos.y - 1.5f; Actor_PlaySfx(&this->actor, NA_SE_EV_BIGBALL_ROLL - SFX_FLAG);