- added UpdateSounds calls to the blocking loops in Duke's and SW's StartGame functions.

This commit is contained in:
Christoph Oelckers 2020-08-26 04:15:33 +02:00
parent cc5e6d19c3
commit ddd6a300ab
2 changed files with 2 additions and 0 deletions

View file

@ -294,6 +294,7 @@ void GameInterface::StartGame(FNewGameStartup& gs)
while (S_CheckSoundPlaying(skillsound))
{
S_Update();
soundEngine->UpdateSounds(I_GetTime());
I_GetEvent();
}
}

View file

@ -231,6 +231,7 @@ void GameInterface::StartGame(FNewGameStartup& gs)
while (soundEngine->IsSourcePlayingSomething(SOURCE_None, nullptr, CHAN_VOICE))
{
DoUpdateSounds();
soundEngine->UpdateSounds(I_GetTime());
I_GetEvent();
}
}