cutscene: advance cutscene on MENU_ABORT if not interruptible

This commit is contained in:
Andrei Alexeyev 2024-10-24 01:35:04 +02:00
parent 5bd284cd3d
commit c7d7bc4cd9
No known key found for this signature in database
GPG key ID: 72D26128040B9690

View file

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