- added a compatibility option for stopping sounds when the owning actor is destroyed.
This commit is contained in:
parent
fc40e9723a
commit
ef5707d73b
6 changed files with 6 additions and 1 deletions
|
|
@ -1575,7 +1575,7 @@ void S_RelinkSound (AActor *from, AActor *to)
|
|||
{
|
||||
chan->Actor = to;
|
||||
}
|
||||
else if (!(chan->ChanFlags & CHAN_LOOP))
|
||||
else if (!(chan->ChanFlags & CHAN_LOOP) && !(compatflags2 & COMPATF2_SOUNDCUTOFF))
|
||||
{
|
||||
chan->Actor = NULL;
|
||||
chan->SourceType = SOURCE_Unattached;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue