- fixed resolving of music aliases with full filenames

https://forum.zdoom.org/viewtopic.php?t=66815
This commit is contained in:
alexey.lysiuk 2020-01-06 11:15:17 +02:00 committed by drfrag
parent fea9814d19
commit fd5889e200

View file

@ -1211,7 +1211,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;
}