Skip to content

Commit 2cf7c99

Browse files
committed
tr1/fmv: stop FMV if game is exiting
This prevents having to wait for an FMV to end or be skipped and the player wants to close the game.
1 parent cc30d7f commit 2cf7c99

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tr1/game/fmv.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ static bool M_Play(const char *const file_path)
123123

124124
Input_Update();
125125

126-
if (g_InputDB.menu_confirm || g_InputDB.menu_back) {
126+
if (g_InputDB.menu_confirm || g_InputDB.menu_back
127+
|| Shell_IsExiting()) {
127128
Video_Stop(video);
128129
}
129130
}

0 commit comments

Comments
 (0)