mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-08 00:32:28 +00:00
- Exhumed: use the loop flag when starting music.
This commit is contained in:
parent
9c07f05f0f
commit
2f66377511
1 changed files with 2 additions and 2 deletions
|
@ -47,11 +47,11 @@ bool playCDtrack(int nTrack, bool bLoop)
|
||||||
|
|
||||||
// try ogg vorbis now from root directory.
|
// try ogg vorbis now from root directory.
|
||||||
sprintf(filename, "exhumed%02d.ogg", nTrack);
|
sprintf(filename, "exhumed%02d.ogg", nTrack);
|
||||||
if (!Mus_Play(filename, true))
|
if (!Mus_Play(filename, bLoop))
|
||||||
{
|
{
|
||||||
// try ogg vorbis now from GOG MUSIC subdirectory.
|
// try ogg vorbis now from GOG MUSIC subdirectory.
|
||||||
sprintf(filename, "track%02d.ogg", nTrack);
|
sprintf(filename, "track%02d.ogg", nTrack);
|
||||||
Mus_Play(filename, true);
|
Mus_Play(filename, bLoop);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue