mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-03 18:50:51 +00:00
Attempt to fix music replacement definitions again
Store per-map music replacements in a TMap, and perform the replacements after parsing the MAPINFO
This commit is contained in:
parent
f675adebbd
commit
2297c9351a
4 changed files with 24 additions and 1 deletions
|
@ -815,7 +815,7 @@ void parseMusic(FScanner& sc, FScriptPosition& pos)
|
|||
if (sc.Compare("id")) sc.GetString(id);
|
||||
else if (sc.Compare("file")) sc.GetString(file);
|
||||
}
|
||||
SetMusicForMap(id, file, true);
|
||||
SetMusicReplacement(id, file);
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue