mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- do not specifically look in the 'music' directory for CD tracks.
Prepending of 'music/' is done automatically for all music not found without a path so this only limits options.
This commit is contained in:
parent
751c295b62
commit
c6c9b26af2
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ bool playCDtrack(int nTrack, bool bLoop)
|
||||||
if (!Mus_Play(nullptr, filename, true))
|
if (!Mus_Play(nullptr, filename, true))
|
||||||
{
|
{
|
||||||
// try ogg vorbis now from GOG MUSIC subdirectory.
|
// try ogg vorbis now from GOG MUSIC subdirectory.
|
||||||
sprintf(filename, "MUSIC/Track%02d.ogg", nTrack);
|
sprintf(filename, "track%02d.ogg", nTrack);
|
||||||
Mus_Play(nullptr, filename, true);
|
Mus_Play(nullptr, filename, true);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue