super code 'fix'

This commit is contained in:
Shtoyan 2022-01-19 18:06:37 +04:00
parent f5634b2025
commit 271205fbc9
2 changed files with 2 additions and 2 deletions

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;
} }