mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 12:30:46 +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;
|
const char* lastmapname;
|
||||||
int gfx_offset;
|
int gfx_offset;
|
||||||
int bonuscnt = 0;
|
|
||||||
int speech = -1;
|
int speech = -1;
|
||||||
int displaystate = 0;
|
int displaystate = 0;
|
||||||
int dukeAnimStart;
|
int dukeAnimStart;
|
||||||
|
@ -849,11 +848,6 @@ class DDukeLevelSummaryScreen : public DScreenJob
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
void SetTotalClock(int tc)
|
|
||||||
{
|
|
||||||
SetClock(tc * (uint64_t)1'000'000'000 / 120);
|
|
||||||
}
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DDukeLevelSummaryScreen() : DScreenJob(fadein | fadeout)
|
DDukeLevelSummaryScreen() : DScreenJob(fadein | fadeout)
|
||||||
{
|
{
|
||||||
|
@ -933,7 +927,7 @@ public:
|
||||||
}
|
}
|
||||||
if (displaystate & dukeWait)
|
if (displaystate & dukeWait)
|
||||||
{
|
{
|
||||||
if (speech <= 0 || !soundEngine->GetSoundPlayingInfo(SOURCE_None, nullptr, speech))
|
if (speech <= 0 || !S_CheckSoundPlaying(speech))
|
||||||
state = finished;
|
state = finished;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue