- moved sound sequence head of list into FLevelLocals.
This commit is contained in:
parent
623330f938
commit
50d59e99cb
9 changed files with 67 additions and 62 deletions
|
|
@ -1751,7 +1751,10 @@ void S_StopSound (const FPolyObj *poly, int channel)
|
|||
|
||||
void S_StopAllChannels ()
|
||||
{
|
||||
SN_StopAllSequences();
|
||||
for (auto Level : AllLevels())
|
||||
{
|
||||
SN_StopAllSequences(Level);
|
||||
}
|
||||
|
||||
FSoundChan *chan = Channels;
|
||||
while (chan != NULL)
|
||||
|
|
@ -2178,8 +2181,10 @@ void S_UpdateSounds (AActor *listenactor)
|
|||
chan->ChanFlags &= ~CHAN_JUSTSTARTED;
|
||||
}
|
||||
|
||||
SN_UpdateActiveSequences();
|
||||
|
||||
for (auto Level : AllLevels())
|
||||
{
|
||||
SN_UpdateActiveSequences(Level);
|
||||
}
|
||||
|
||||
GSnd->UpdateListener(&listener);
|
||||
GSnd->UpdateSounds();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue