From 8e5b376b8ddbaac6add17d43dbee5426255257fb Mon Sep 17 00:00:00 2001 From: louist103 <35883445+louist103@users.noreply.github.com> Date: Sun, 12 May 2024 13:28:22 -0400 Subject: [PATCH] Remove s32 cast from actionfunc check (#1626) --- src/overlays/actors/ovl_Obj_Lightswitch/z_obj_lightswitch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/overlays/actors/ovl_Obj_Lightswitch/z_obj_lightswitch.c b/src/overlays/actors/ovl_Obj_Lightswitch/z_obj_lightswitch.c index c0714d49b8..0ad6898472 100644 --- a/src/overlays/actors/ovl_Obj_Lightswitch/z_obj_lightswitch.c +++ b/src/overlays/actors/ovl_Obj_Lightswitch/z_obj_lightswitch.c @@ -348,7 +348,7 @@ void ObjLightswitch_Update(Actor* thisx, PlayState* play) { } // why wouldn't this be in the action func? - if ((this->cutsceneTimer > 0) && ((s32)this->actionFunc != (s32)ObjLightswitch_PlayCinema)) { + if ((this->cutsceneTimer > 0) && (this->actionFunc != ObjLightswitch_PlayCinema)) { this->cutsceneTimer--; if (this->cutsceneTimer == 0) { CutsceneManager_Stop(this->actor.csId);