Fix freeing gorons cutscene leaving link in cutscene state until the goron actor is killed (#4712)

* Fix goron cutscene

* Update soh/src/overlays/actors/ovl_En_Go2/z_en_go2.c
This commit is contained in:
Pepper0ni 2024-12-20 19:56:36 +00:00 committed by GitHub
parent e7e5b1190a
commit 1edd41e807
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1923,8 +1923,8 @@ void EnGo2_GoronFireGenericAction(EnGo2* this, PlayState* play) {
if (Message_GetState(&play->msgCtx) == TEXT_STATE_CLOSING) { if (Message_GetState(&play->msgCtx) == TEXT_STATE_CLOSING) {
if (GameInteractor_Should(VB_PLAY_GORON_FREE_CS, true)) { if (GameInteractor_Should(VB_PLAY_GORON_FREE_CS, true)) {
EnGo2_GoronFireCamera(this, play); EnGo2_GoronFireCamera(this, play);
}
play->msgCtx.msgMode = MSGMODE_PAUSED; play->msgCtx.msgMode = MSGMODE_PAUSED;
}
Animation_ChangeByInfo(&this->skelAnime, sAnimationInfo, ENGO2_ANIM_2); Animation_ChangeByInfo(&this->skelAnime, sAnimationInfo, ENGO2_ANIM_2);
this->waypoint = 1; this->waypoint = 1;
this->skelAnime.playSpeed = 2.0f; this->skelAnime.playSpeed = 2.0f;