cutscene: advance cutscene on MENU_ABORT if not interruptible
This commit is contained in:
parent
5bd284cd3d
commit
c7d7bc4cd9
1 changed files with 6 additions and 2 deletions
|
@ -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) {
|
||||
if(evt->type == MAKE_TAISEI_EVENT(TE_MENU_ABORT)) {
|
||||
if(st->interruptible) {
|
||||
cutscene_interrupt(st);
|
||||
} else {
|
||||
cutscene_advance(st);
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue