mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-15 20:20:54 +00:00
- added UpdateSounds calls to the blocking loops in Duke's and SW's StartGame functions.
This commit is contained in:
parent
cc5e6d19c3
commit
ddd6a300ab
2 changed files with 2 additions and 0 deletions
|
@ -294,6 +294,7 @@ void GameInterface::StartGame(FNewGameStartup& gs)
|
||||||
while (S_CheckSoundPlaying(skillsound))
|
while (S_CheckSoundPlaying(skillsound))
|
||||||
{
|
{
|
||||||
S_Update();
|
S_Update();
|
||||||
|
soundEngine->UpdateSounds(I_GetTime());
|
||||||
I_GetEvent();
|
I_GetEvent();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -231,6 +231,7 @@ void GameInterface::StartGame(FNewGameStartup& gs)
|
||||||
while (soundEngine->IsSourcePlayingSomething(SOURCE_None, nullptr, CHAN_VOICE))
|
while (soundEngine->IsSourcePlayingSomething(SOURCE_None, nullptr, CHAN_VOICE))
|
||||||
{
|
{
|
||||||
DoUpdateSounds();
|
DoUpdateSounds();
|
||||||
|
soundEngine->UpdateSounds(I_GetTime());
|
||||||
I_GetEvent();
|
I_GetEvent();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue