Skip to content

Commit

Permalink
tr2/fmv: stop active FMV if game is exited
Browse files Browse the repository at this point in the history
  • Loading branch information
lahm86 committed Nov 4, 2024
1 parent efc150d commit 406c2ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tr2/decomp/fmv.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ void __cdecl WinPlayFMV(const char *const file_name, const bool is_playback)

Input_Update();
Shell_ProcessInput();
if (g_InputDB.menu_back || g_InputDB.menu_confirm) {
if (g_InputDB.menu_back || g_InputDB.menu_confirm || g_IsGameToExit) {
Video_Stop(video);
break;
}
Expand Down

0 comments on commit 406c2ed

Please sign in to comment.