diff --git a/src/sound/s_music.cpp b/src/sound/s_music.cpp index aa5330c2b..b821cb739 100644 --- a/src/sound/s_music.cpp +++ b/src/sound/s_music.cpp @@ -468,7 +468,9 @@ bool S_ChangeMusic (const char *musicname, int order, bool looping, bool force) FileReader reader; if (!FileExists (musicname)) { - if ((lumpnum = Wads.CheckNumForFullName (musicname, true, ns_music)) == -1) + lumpnum = Wads.CheckNumForFullName (musicname); + if (lumpnum == -1) lumpnum = Wads.CheckNumForName (musicname, ns_music); + if (lumpnum == -1) { Printf ("Music \"%s\" not found\n", musicname); return false;