mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 12:30:46 +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.
|
||||
PlayLocalSound(StaticSound[59], 0, true, CHANF_UI);
|
||||
int nTicks = gameclock + 12;
|
||||
while (nTicks > gameclock)
|
||||
int nTicks = I_msTime() + 100;
|
||||
while (nTicks > I_msTime())
|
||||
{
|
||||
I_GetEvent();
|
||||
soundEngine->UpdateSounds(I_GetTime());
|
||||
|
|
Loading…
Reference in a new issue