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

@ -641,7 +641,7 @@ Class PartyTime : SWWMNonInteractiveActor
if ( ignite )
{
// wait for the sound to stop
if ( !IsActorPlayingSound(CHAN_ITEM) )
if ( !IsActorPlayingSound(CHAN_ITEM,-1) )
Destroy();
return;
}

View file

@ -2656,7 +2656,7 @@ Class MykradvoBurst : SWWMNonInteractiveActor
{
Spawn:
XEX4 ABCDEFGHIJKLMNOPQRSTUVWXYZ[\ 2 Bright;
TNT1 A 1 A_JumpIf(!IsActorPlayingSound(CHAN_VOICE)&&!(targets.Size()),1);
TNT1 A 1 A_JumpIf(!IsActorPlayingSound(CHAN_VOICE,-1)&&!(targets.Size()),1);
Wait;
TNT1 A 1;
Stop;