mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- fixed sound in Blood cutscenes.
This commit is contained in:
parent
d4b32c535a
commit
ed813562eb
2 changed files with 4 additions and 2 deletions
|
@ -234,7 +234,7 @@ void credPlaySmk(const char *_pzSMK, const char *_pzWAV, int nWav)
|
||||||
else
|
else
|
||||||
nScale = divscale16(200, nHeight);
|
nScale = divscale16(200, nHeight);
|
||||||
|
|
||||||
if (nWav)
|
if (nWav > 0)
|
||||||
sndStartWavID(nWav, 255);
|
sndStartWavID(nWav, 255);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -175,7 +175,9 @@ void sndStartWavID(unsigned int nSound, int nVolume, int nChannel)
|
||||||
|
|
||||||
void sndStartWavDisk(const char *pzFile, int nVolume, int nChannel)
|
void sndStartWavDisk(const char *pzFile, int nVolume, int nChannel)
|
||||||
{
|
{
|
||||||
return sndStartSample(pzFile, nVolume, nChannel);
|
FString name = pzFile;
|
||||||
|
FixPathSeperator(name);
|
||||||
|
return sndStartSample(name, nVolume, nChannel);
|
||||||
}
|
}
|
||||||
|
|
||||||
void sndKillAllSounds(void)
|
void sndKillAllSounds(void)
|
||||||
|
|
Loading…
Reference in a new issue