From c7d7bc4cd916c8f82b553db73a6697a87f1c608f Mon Sep 17 00:00:00 2001 From: Andrei Alexeyev Date: Thu, 24 Oct 2024 01:35:04 +0200 Subject: [PATCH] cutscene: advance cutscene on MENU_ABORT if not interruptible --- src/cutscenes/cutscene.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/cutscenes/cutscene.c b/src/cutscenes/cutscene.c index 7ef800a962..53fcc14185 100644 --- a/src/cutscenes/cutscene.c +++ b/src/cutscenes/cutscene.c @@ -187,8 +187,12 @@ static bool cutscene_event(SDL_Event *evt, void *ctx) { cutscene_advance(st); } - if(evt->type == MAKE_TAISEI_EVENT(TE_MENU_ABORT) && st->interruptible) { - cutscene_interrupt(st); + if(evt->type == MAKE_TAISEI_EVENT(TE_MENU_ABORT)) { + if(st->interruptible) { + cutscene_interrupt(st); + } else { + cutscene_advance(st); + } } return false;