mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 14:01:45 +00:00
- fixed resolving of music aliases with full filenames
https://forum.zdoom.org/viewtopic.php?t=66815
This commit is contained in:
parent
83f46c4b2f
commit
cad14d1c93
1 changed files with 1 additions and 1 deletions
|
@ -1212,7 +1212,7 @@ static void S_AddSNDINFO (int lump)
|
||||||
FName mapped = sc.String;
|
FName mapped = sc.String;
|
||||||
|
|
||||||
// only set the alias if the lump it maps to exists.
|
// 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;
|
MusicAliases[alias] = mapped;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue