- Fixed: ACS's PlaySound should mask off the flag bits from the channel

before passing it to S_IsActorPlayingSomething().
This commit is contained in:
Randy Heit 2013-07-01 22:01:26 -05:00
parent 2717ed703d
commit 001ed91fd4

View file

@ -5025,7 +5025,7 @@ doplaysound: if (funcIndex == ACSF_PlayActorSound)
{
S_Sound(spot, chan, sid, vol, atten);
}
else if (!S_IsActorPlayingSomething(spot, chan, sid))
else if (!S_IsActorPlayingSomething(spot, chan & 7, sid))
{
S_Sound(spot, chan | CHAN_LOOP, sid, vol, atten);
}