mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-16 20:50:38 +00:00
- fixed infinite loop.
This commit is contained in:
parent
4e846f8d66
commit
e5a4276a5a
1 changed files with 2 additions and 2 deletions
|
@ -83,8 +83,8 @@ static int FinishLevel(TArray<JobDesc> &jobs)
|
||||||
{
|
{
|
||||||
// There's really no choice but to enter an active wait loop here to make the sound play out.
|
// There's really no choice but to enter an active wait loop here to make the sound play out.
|
||||||
PlayLocalSound(StaticSound[59], 0, true, CHANF_UI);
|
PlayLocalSound(StaticSound[59], 0, true, CHANF_UI);
|
||||||
int nTicks = gameclock + 12;
|
int nTicks = I_msTime() + 100;
|
||||||
while (nTicks > gameclock)
|
while (nTicks > I_msTime())
|
||||||
{
|
{
|
||||||
I_GetEvent();
|
I_GetEvent();
|
||||||
soundEngine->UpdateSounds(I_GetTime());
|
soundEngine->UpdateSounds(I_GetTime());
|
||||||
|
|
Loading…
Reference in a new issue