Patch IsActorPlayingSound calls until next GZDoom update.

This commit is contained in:
Mari the Deer 2022-12-06 18:47:26 +01:00
commit 57327fa8f6
5 changed files with 8 additions and 8 deletions

View file

@ -23,7 +23,7 @@ extend Class SWWMHandler
if ( players[consoleplayer].mo.FindInventory("RagekitPower") && (type != "ragekit") ) return 0;
// suppress beep-boop lines if voice channel already in use
if ( ((type == "buttonpush") || (type == "mrtouch") || (type == "mrflick"))
&& players[consoleplayer].mo.IsActorPlayingSound(CHAN_DEMOVOICE)
&& players[consoleplayer].mo.IsActorPlayingSound(CHAN_DEMOVOICE,-1)
&& !players[consoleplayer].mo.IsActorPlayingSound(CHAN_DEMOVOICE,"voice/default/buttonpush1")
&& !players[consoleplayer].mo.IsActorPlayingSound(CHAN_DEMOVOICE,"voice/default/buttonpush2")
&& !players[consoleplayer].mo.IsActorPlayingSound(CHAN_DEMOVOICE,"voice/default/buttonpush3")