- added global per-mod precaching lists, to be defined in MAPINFO's Gameinfo section.
This commit is contained in:
parent
96788850d3
commit
46179936ec
4 changed files with 22 additions and 0 deletions
|
|
@ -481,6 +481,10 @@ void S_PrecacheLevel ()
|
|||
{
|
||||
actor->MarkPrecacheSounds();
|
||||
}
|
||||
for (auto i : gameinfo.PrecachedSounds)
|
||||
{
|
||||
level.info->PrecacheSounds[i].MarkUsed();
|
||||
}
|
||||
// Precache all extra sounds requested by this map.
|
||||
for (i = 0; i < level.info->PrecacheSounds.Size(); ++i)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue