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
|
||||
nScale = divscale16(200, nHeight);
|
||||
|
||||
if (nWav)
|
||||
if (nWav > 0)
|
||||
sndStartWavID(nWav, 255);
|
||||
else
|
||||
{
|
||||
|
|
|
@ -175,7 +175,9 @@ void sndStartWavID(unsigned int nSound, 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)
|
||||
|
|
Loading…
Reference in a new issue