From 2c1b53ad1c3739029314cb07f07478d7f36339e3 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Sun, 22 Nov 2020 22:35:45 +1100 Subject: [PATCH] - Exhumed: Get GOG music playing without any user intervention required. --- source/exhumed/src/cd.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/source/exhumed/src/cd.cpp b/source/exhumed/src/cd.cpp index 8c6b677ed..fae2e53ae 100644 --- a/source/exhumed/src/cd.cpp +++ b/source/exhumed/src/cd.cpp @@ -46,9 +46,14 @@ bool playCDtrack(int nTrack, bool bLoop) char filename[128]; - // try ogg vorbis now + // try ogg vorbis now from root directory. sprintf(filename, "exhumed%02d.ogg", nTrack); - Mus_Play(nullptr, filename, true); + if (!Mus_Play(nullptr, filename, true)) + { + // try ogg vorbis now from GOG MUSIC subdirectory. + sprintf(filename, "MUSIC/Track%02d.ogg", nTrack); + Mus_Play(nullptr, filename, true); + } return true; }