mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
- Duke+RR: Don't quit the level summary screen through timeout when a sound is still playing.
Fixes #359
This commit is contained in:
parent
38cd38f0eb
commit
cbbbe2a09b
2 changed files with 10 additions and 2 deletions
|
@ -924,7 +924,11 @@ public:
|
|||
break;
|
||||
}
|
||||
}
|
||||
else if (currentclock > (10240 + 120L)) return 0;
|
||||
else if (currentclock > (10240 + 120L))
|
||||
{
|
||||
if (!skiprequest && soundEngine->GetSoundPlayingInfo(SOURCE_None, nullptr, -1)) return 1;
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
switch((currentclock >> 5) & 3)
|
||||
|
|
|
@ -506,7 +506,11 @@ public:
|
|||
}
|
||||
}
|
||||
}
|
||||
else if (currentclock > (10240 + 120L)) return 0;
|
||||
else if (currentclock > (10240 + 120L))
|
||||
{
|
||||
if (!skiprequest && soundEngine->GetSoundPlayingInfo(SOURCE_None, nullptr, -1)) return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (currentclock > 10240 && currentclock < 10240 + 10240)
|
||||
SetTotalClock(1024);
|
||||
|
|
Loading…
Reference in a new issue