From f3e8b7d3cf97636ed0cd75fb5db7fbb845b587b9 Mon Sep 17 00:00:00 2001 From: petrie911 Date: Fri, 4 Mar 2022 07:38:01 -0600 Subject: [PATCH] . --- src/overlays/actors/ovl_Boss_07/z_boss_07.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/overlays/actors/ovl_Boss_07/z_boss_07.c b/src/overlays/actors/ovl_Boss_07/z_boss_07.c index 5f88c869a..4dbde29c7 100644 --- a/src/overlays/actors/ovl_Boss_07/z_boss_07.c +++ b/src/overlays/actors/ovl_Boss_07/z_boss_07.c @@ -502,7 +502,6 @@ void Boss07_Init(Actor* thisx, GlobalContext* globalCtx2) { GlobalContext* globalCtx = globalCtx2; Boss07* this = THIS; s32 i; - f32 whipScale = 1.0; if (this->actor.params == MAJORA_STATIC) { this->actor.update = Boss07_Static_Update; @@ -531,7 +530,7 @@ void Boss07_Init(Actor* thisx, GlobalContext* globalCtx2) { this->actor.colChkInfo.mass = MASS_HEAVY; this->actor.gravity = -2.5f; - if (this->actor.params >= MAJORA_REMAINS) { + if (thisx->params >= MAJORA_REMAINS) { this->actor.update = Boss07_Remains_Update; this->actor.draw = Boss07_Remains_Draw; if (1) {} @@ -646,7 +645,7 @@ void Boss07_Init(Actor* thisx, GlobalContext* globalCtx2) { Boss07_Wrath_SetupIntro(this, globalCtx); } else { Boss07_Wrath_SetupIdle(this, globalCtx, 50); - this->whipScale = whipScale; + this->whipScale = 1.0; Audio_QueueSeqCmd(0x8069); } SkelAnime_InitFlex(globalCtx, &this->skelAnime, &D_060335F0, &D_0603CBD0, this->jointTable,