diff --git a/Engine/ac/global_video.cpp b/Engine/ac/global_video.cpp index 3511a1a4205..141b071eeac 100644 --- a/Engine/ac/global_video.cpp +++ b/Engine/ac/global_video.cpp @@ -78,7 +78,7 @@ void PlayFlic(int numb, int scr_flags) HError err = play_flc_video(numb, flags, skip); if (!err) - debug_script_warn("Failed to play FLIC %n: %s", numb, err->FullMessage().GetCStr()); + debug_script_warn("Failed to play FLIC %d: %s", numb, err->FullMessage().GetCStr()); } void PlayVideo(const char* name, int skip, int scr_flags) { diff --git a/Engine/media/video/video.cpp b/Engine/media/video/video.cpp index 03b41db50a2..dc8e3833bf1 100644 --- a/Engine/media/video/video.cpp +++ b/Engine/media/video/video.cpp @@ -296,6 +296,7 @@ HError FlicPlayer::OpenImpl(const AGS::Common::String &name, int& /*flags*/) void FlicPlayer::CloseImpl() { + close_fli(); if (_pf) pack_fclose(_pf); _pf = nullptr;