- added global per-mod precaching lists, to be defined in MAPINFO's Gameinfo section.

This commit is contained in:
Christoph Oelckers 2017-01-10 01:00:06 +01:00
commit 46179936ec
4 changed files with 22 additions and 0 deletions

View file

@ -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)
{