zedtest #1

Merged
dkanus merged 4 commits from :zedtest into master 2022-01-19 17:29:42 +03:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 271205fbc9 - Show all commits

View File

@ -214,7 +214,7 @@ function RemoveHead()
} }
simulated function PlayDying(class<DamageType> DamageType, vector HitLoc) simulated function PlayDying(class<DamageType> DamageType, vector HitLoc)
{ {
Super.PlayDying(DamageType,HitLoc); Super(NiceMonster).PlayDying(DamageType,HitLoc);
if(bUnlit) if(bUnlit)
bUnlit=!bUnlit; bUnlit=!bUnlit;
LocalKFHumanPawn = none; LocalKFHumanPawn = none;

View File

@ -266,7 +266,7 @@ function Died(Controller Killer, class<DamageType> damageType, vector HitLocatio
} }
simulated event PlayDying(class<DamageType> DamageType, vector HitLoc) simulated event PlayDying(class<DamageType> DamageType, vector HitLoc)
{ {
super.PlayDying(DamageType, HitLoc); super(NiceMonster).PlayDying(DamageType, HitLoc);
if ( DecapitationSparks != none ) if ( DecapitationSparks != none )
DecapitationSparks.Destroy(); AmbientSound = none; DecapitationSparks.Destroy(); AmbientSound = none;
} }