Remove s32 cast from actionfunc check (#1626)

This commit is contained in:
louist103 2024-05-12 13:28:22 -04:00 committed by GitHub
parent 6d315fa2ae
commit 8e5b376b8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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);