Skip to content
Permalink
Browse files

- fixed resolving of music aliases with full filenames

  • Loading branch information
alexey-lysiuk committed Jan 6, 2020
1 parent 83f46c4 commit cad14d1c935f3a869ecccedf67de32702820743f
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;
}

0 comments on commit cad14d1

Please sign in to comment.
You can’t perform that action at this time.