From ddd6a300abf2f316d50e3b3acfc4f9a3aa49fa1a Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 26 Aug 2020 04:15:33 +0200 Subject: [PATCH] - added UpdateSounds calls to the blocking loops in Duke's and SW's StartGame functions. --- source/games/duke/src/d_menu.cpp | 1 + source/sw/src/d_menu.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/source/games/duke/src/d_menu.cpp b/source/games/duke/src/d_menu.cpp index 08dd13e83..172fdb4aa 100644 --- a/source/games/duke/src/d_menu.cpp +++ b/source/games/duke/src/d_menu.cpp @@ -294,6 +294,7 @@ void GameInterface::StartGame(FNewGameStartup& gs) while (S_CheckSoundPlaying(skillsound)) { S_Update(); + soundEngine->UpdateSounds(I_GetTime()); I_GetEvent(); } } diff --git a/source/sw/src/d_menu.cpp b/source/sw/src/d_menu.cpp index 5e1872a56..edaa634f6 100644 --- a/source/sw/src/d_menu.cpp +++ b/source/sw/src/d_menu.cpp @@ -231,6 +231,7 @@ void GameInterface::StartGame(FNewGameStartup& gs) while (soundEngine->IsSourcePlayingSomething(SOURCE_None, nullptr, CHAN_VOICE)) { DoUpdateSounds(); + soundEngine->UpdateSounds(I_GetTime()); I_GetEvent(); } }