From 271205fbc9b2c0612f430aeb70ce2bdf4c4db3a4 Mon Sep 17 00:00:00 2001 From: Shtoyan Date: Wed, 19 Jan 2022 18:06:37 +0400 Subject: [PATCH] super code 'fix' --- sources/Zeds/Nice/NiceZombieStalker.uc | 2 +- sources/Zeds/Nice/NiceZombieTeslaHusk.uc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/Zeds/Nice/NiceZombieStalker.uc b/sources/Zeds/Nice/NiceZombieStalker.uc index 0a75dde..3e2c054 100644 --- a/sources/Zeds/Nice/NiceZombieStalker.uc +++ b/sources/Zeds/Nice/NiceZombieStalker.uc @@ -214,7 +214,7 @@ function RemoveHead() } simulated function PlayDying(class DamageType, vector HitLoc) { - Super.PlayDying(DamageType,HitLoc); + Super(NiceMonster).PlayDying(DamageType,HitLoc); if(bUnlit) bUnlit=!bUnlit; LocalKFHumanPawn = none; diff --git a/sources/Zeds/Nice/NiceZombieTeslaHusk.uc b/sources/Zeds/Nice/NiceZombieTeslaHusk.uc index 4362308..030c45f 100644 --- a/sources/Zeds/Nice/NiceZombieTeslaHusk.uc +++ b/sources/Zeds/Nice/NiceZombieTeslaHusk.uc @@ -266,7 +266,7 @@ function Died(Controller Killer, class damageType, vector HitLocatio } simulated event PlayDying(class DamageType, vector HitLoc) { - super.PlayDying(DamageType, HitLoc); + super(NiceMonster).PlayDying(DamageType, HitLoc); if ( DecapitationSparks != none ) DecapitationSparks.Destroy(); AmbientSound = none; }