- did a bit of header cleanup to reduce the dependency on dobject.h.
This commit is contained in:
parent
1c81c40c59
commit
a4710bcdb0
48 changed files with 226 additions and 274 deletions
|
|
@ -491,14 +491,14 @@ void S_PrecacheLevel ()
|
|||
actor->MarkPrecacheSounds();
|
||||
}
|
||||
}
|
||||
for (auto i : gameinfo.PrecachedSounds)
|
||||
for (auto snd : gameinfo.PrecachedSounds)
|
||||
{
|
||||
level.info->PrecacheSounds[i].MarkUsed();
|
||||
FSoundID(snd).MarkUsed();
|
||||
}
|
||||
// Precache all extra sounds requested by this map.
|
||||
for (i = 0; i < level.info->PrecacheSounds.Size(); ++i)
|
||||
for (auto snd : level.info->PrecacheSounds)
|
||||
{
|
||||
level.info->PrecacheSounds[i].MarkUsed();
|
||||
FSoundID(snd).MarkUsed();
|
||||
}
|
||||
// Don't unload sounds that are playing right now.
|
||||
for (FSoundChan *chan = Channels; chan != NULL; chan = chan->NextChan)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue