From 4c2266ee88df0b846b2c4eb66216669beb7ad4f4 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 1 May 2021 20:31:51 +0200 Subject: [PATCH] - fixed incomplete SW ending cutscene. --- source/common/platform/win32/base_sysfb.cpp | 1 - wadsrc/static/zscript/games/sw/ui/screens.zs | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/source/common/platform/win32/base_sysfb.cpp b/source/common/platform/win32/base_sysfb.cpp index 9455dbae6..3cb8858a3 100644 --- a/source/common/platform/win32/base_sysfb.cpp +++ b/source/common/platform/win32/base_sysfb.cpp @@ -371,7 +371,6 @@ SystemBaseFrameBuffer::~SystemBaseFrameBuffer() SetWindowLong(Window, GWL_STYLE, WS_VISIBLE | WS_CLIPSIBLINGS | WS_OVERLAPPEDWINDOW); SetWindowLong(Window, GWL_EXSTYLE, WS_EX_WINDOWEDGE); SetWindowPos(Window, 0, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER | SWP_FRAMECHANGED); - I_GetEvent(); static_cast(Video)->Shutdown(); } diff --git a/wadsrc/static/zscript/games/sw/ui/screens.zs b/wadsrc/static/zscript/games/sw/ui/screens.zs index 6cb630cb7..9ec747f1a 100644 --- a/wadsrc/static/zscript/games/sw/ui/screens.zs +++ b/wadsrc/static/zscript/games/sw/ui/screens.zs @@ -542,6 +542,7 @@ class SWCutscenes 108, SWSnd.DIGI_ZC9, 120, SWSnd.DIGI_JG94039); runner.Append(MoviePlayerJob.CreateWithSoundinfo("zfcin.anm", soundinfo, MoviePlayer.NOSOUNDCUTOFF, 16, 16, 140)); + runner.Append(new("SWCreditsScreen").Init()); } //---------------------------------------------------------------------------