mirror of https://github.com/zeldaret/mm.git
Remove s32 cast from actionfunc check (#1626)
This commit is contained in:
parent
6d315fa2ae
commit
8e5b376b8d
|
@ -348,7 +348,7 @@ void ObjLightswitch_Update(Actor* thisx, PlayState* play) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// why wouldn't this be in the action func?
|
// 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--;
|
this->cutsceneTimer--;
|
||||||
if (this->cutsceneTimer == 0) {
|
if (this->cutsceneTimer == 0) {
|
||||||
CutsceneManager_Stop(this->actor.csId);
|
CutsceneManager_Stop(this->actor.csId);
|
||||||
|
|
Loading…
Reference in New Issue