mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 04:00:42 +00:00
- fixed bad sound checkin Duke's intermission.
This commit is contained in:
parent
7895d67b18
commit
f4b089b776
1 changed files with 1 additions and 7 deletions
|
@ -830,7 +830,6 @@ class DDukeLevelSummaryScreen : public DScreenJob
|
|||
{
|
||||
const char* lastmapname;
|
||||
int gfx_offset;
|
||||
int bonuscnt = 0;
|
||||
int speech = -1;
|
||||
int displaystate = 0;
|
||||
int dukeAnimStart;
|
||||
|
@ -849,11 +848,6 @@ class DDukeLevelSummaryScreen : public DScreenJob
|
|||
|
||||
};
|
||||
|
||||
void SetTotalClock(int tc)
|
||||
{
|
||||
SetClock(tc * (uint64_t)1'000'000'000 / 120);
|
||||
}
|
||||
|
||||
public:
|
||||
DDukeLevelSummaryScreen() : DScreenJob(fadein | fadeout)
|
||||
{
|
||||
|
@ -933,7 +927,7 @@ public:
|
|||
}
|
||||
if (displaystate & dukeWait)
|
||||
{
|
||||
if (speech <= 0 || !soundEngine->GetSoundPlayingInfo(SOURCE_None, nullptr, speech))
|
||||
if (speech <= 0 || !S_CheckSoundPlaying(speech))
|
||||
state = finished;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue