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

@ -1101,7 +1101,7 @@ Class YnykronShot : SWWMNonInteractiveActor
SWWMUtility.AchievementProgress("ezkill",enemykills,target.player);
enemykills = 0;
}
if ( IsActorPlayingSound(CHAN_VOICE) )
if ( IsActorPlayingSound(CHAN_VOICE,-1) )
return;
// we're done here
Destroy();
@ -2410,7 +2410,7 @@ Class YnykronSingularity : SWWMNonInteractiveActor
special1++;
if ( special1 > 60 )
{
if ( IsActorPlayingSound(CHAN_VOICE) ) return;
if ( IsActorPlayingSound(CHAN_VOICE,-1) ) return;
for ( int i=0; i<MAXBEAMS; i++ ) if ( beamers[i] ) return;
Destroy();
return;
@ -2688,7 +2688,7 @@ Class YnykronAltShot : SWWMNonInteractiveActor
freezetics--;
return;
}
if ( isFrozen() || IsActorPlayingSound(CHAN_VOICE) ) return;
if ( isFrozen() || IsActorPlayingSound(CHAN_VOICE,-1) ) return;
Destroy();
}
}