From cad14d1c935f3a869ecccedf67de32702820743f Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Mon, 6 Jan 2020 11:15:17 +0200 Subject: [PATCH] - fixed resolving of music aliases with full filenames https://forum.zdoom.org/viewtopic.php?t=66815 --- src/sound/s_advsound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/s_advsound.cpp b/src/sound/s_advsound.cpp index 273f05775..c8cd6cfa5 100644 --- a/src/sound/s_advsound.cpp +++ b/src/sound/s_advsound.cpp @@ -1212,7 +1212,7 @@ static void S_AddSNDINFO (int lump) FName mapped = sc.String; // only set the alias if the lump it maps to exists. - if (mapped == NAME_None || Wads.CheckNumForName(sc.String, ns_music) >= 0) + if (mapped == NAME_None || Wads.CheckNumForFullName(sc.String, true, ns_music) >= 0) { MusicAliases[alias] = mapped; }