Patch IsActorPlayingSound calls until next GZDoom update.
This commit is contained in:
parent
10b77ae9ad
commit
57327fa8f6
5 changed files with 8 additions and 8 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue