Skip to content

Commit

Permalink
- fixed resolving of music aliases with full filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Jan 6, 2020
1 parent 83f46c4 commit cad14d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sound/s_advsound.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit cad14d1

Please sign in to comment.