From 3887f680d05dff0f46a3d2284595239338741f00 Mon Sep 17 00:00:00 2001 From: Anton Tarasenko Date: Sat, 2 Jul 2022 05:26:28 +0700 Subject: [PATCH] Change projectile fix to support new AcediaCore --- .../FixProjectileFFClass_FlareRevolverProjectile.uc | 2 +- .../FixedClasses/FixProjectileFFClass_HuskGunProjectile.uc | 2 +- .../FixedClasses/FixProjectileFFClass_LAWProj.uc | 2 +- .../FixedClasses/FixProjectileFFClass_M203GrenadeProjectile.uc | 2 +- .../FixedClasses/FixProjectileFFClass_M32GrenadeProjectile.uc | 2 +- .../FixedClasses/FixProjectileFFClass_M79GrenadeProjectile.uc | 2 +- .../FixedClasses/FixProjectileFFClass_SPGrenadeProjectile.uc | 2 +- .../FixedClasses/FixProjectileFFClass_SealSquealProjectile.uc | 2 +- .../FixedClasses/FixProjectileFFClass_ZEDGunProjectile.uc | 2 +- .../FixProjectileFFClass_ZEDMKIIPrimaryProjectile.uc | 2 +- .../FixProjectileFFClass_ZEDMKIISecondaryProjectile.uc | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_FlareRevolverProjectile.uc b/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_FlareRevolverProjectile.uc index 86f7d31..c147e6c 100644 --- a/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_FlareRevolverProjectile.uc +++ b/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_FlareRevolverProjectile.uc @@ -31,7 +31,7 @@ function TakeDamage( optional int hitIndex) { local bool canTakeThisDamage; - if (damageType == class'SirenScreamDamage') + if (class(damageType) != none) { Disintegrate(hitLocation, Vect(0, 0, 1)); return; diff --git a/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_HuskGunProjectile.uc b/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_HuskGunProjectile.uc index e9809a1..6f1f349 100644 --- a/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_HuskGunProjectile.uc +++ b/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_HuskGunProjectile.uc @@ -30,7 +30,7 @@ function TakeDamage( optional int hitIndex) { local bool canTakeThisDamage; - if (damageType == class'SirenScreamDamage') + if (class(damageType) != none) { Disintegrate(hitLocation, Vect(0, 0, 1)); return; diff --git a/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_LAWProj.uc b/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_LAWProj.uc index 3155373..f904626 100644 --- a/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_LAWProj.uc +++ b/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_LAWProj.uc @@ -30,7 +30,7 @@ function TakeDamage( optional int hitIndex) { local bool canTakeThisDamage; - if (damageType == class'SirenScreamDamage') + if (class(damageType) != none) { Disintegrate(hitLocation, Vect(0, 0, 1)); return; diff --git a/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_M203GrenadeProjectile.uc b/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_M203GrenadeProjectile.uc index d99a9df..fa5da92 100644 --- a/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_M203GrenadeProjectile.uc +++ b/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_M203GrenadeProjectile.uc @@ -30,7 +30,7 @@ function TakeDamage( optional int hitIndex) { local bool canTakeThisDamage; - if (damageType == class'SirenScreamDamage') + if (class(damageType) != none) { Disintegrate(hitLocation, Vect(0, 0, 1)); return; diff --git a/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_M32GrenadeProjectile.uc b/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_M32GrenadeProjectile.uc index f835b0d..e124c0a 100644 --- a/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_M32GrenadeProjectile.uc +++ b/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_M32GrenadeProjectile.uc @@ -30,7 +30,7 @@ function TakeDamage( optional int hitIndex) { local bool canTakeThisDamage; - if (damageType == class'SirenScreamDamage') + if (class(damageType) != none) { Disintegrate(hitLocation, Vect(0, 0, 1)); return; diff --git a/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_M79GrenadeProjectile.uc b/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_M79GrenadeProjectile.uc index 879261b..36a32dd 100644 --- a/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_M79GrenadeProjectile.uc +++ b/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_M79GrenadeProjectile.uc @@ -30,7 +30,7 @@ function TakeDamage( optional int hitIndex) { local bool canTakeThisDamage; - if (damageType == class'SirenScreamDamage') + if (class(damageType) != none) { Disintegrate(hitLocation, Vect(0, 0, 1)); return; diff --git a/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_SPGrenadeProjectile.uc b/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_SPGrenadeProjectile.uc index 4ca72d8..2015675 100644 --- a/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_SPGrenadeProjectile.uc +++ b/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_SPGrenadeProjectile.uc @@ -37,7 +37,7 @@ public function TakeDamage( optional int hitIndex) { local bool canTakeThisDamage; - if (damageType == class'SirenScreamDamage') + if (class(damageType) != none) { Disintegrate(hitLocation, Vect(0, 0, 1)); return; diff --git a/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_SealSquealProjectile.uc b/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_SealSquealProjectile.uc index 4595c52..2216f8e 100644 --- a/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_SealSquealProjectile.uc +++ b/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_SealSquealProjectile.uc @@ -37,7 +37,7 @@ public function TakeDamage( optional int hitIndex) { local bool canTakeThisDamage; - if (damageType == class'SirenScreamDamage') + if (class(damageType) != none) { Disintegrate(hitLocation, Vect(0, 0, 1)); return; diff --git a/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_ZEDGunProjectile.uc b/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_ZEDGunProjectile.uc index 296d631..d374229 100644 --- a/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_ZEDGunProjectile.uc +++ b/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_ZEDGunProjectile.uc @@ -30,7 +30,7 @@ function TakeDamage( optional int hitIndex) { local bool canTakeThisDamage; - if (damageType == class'SirenScreamDamage') + if (class(damageType) != none) { Disintegrate(hitLocation, Vect(0, 0, 1)); return; diff --git a/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_ZEDMKIIPrimaryProjectile.uc b/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_ZEDMKIIPrimaryProjectile.uc index d3d7cf1..15ffa77 100644 --- a/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_ZEDMKIIPrimaryProjectile.uc +++ b/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_ZEDMKIIPrimaryProjectile.uc @@ -31,7 +31,7 @@ function TakeDamage( optional int hitIndex) { local bool canTakeThisDamage; - if (damageType == class'SirenScreamDamage') + if (class(damageType) != none) { Disintegrate(hitLocation, Vect(0, 0, 1)); return; diff --git a/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_ZEDMKIISecondaryProjectile.uc b/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_ZEDMKIISecondaryProjectile.uc index 0a38d3d..b9d2093 100644 --- a/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_ZEDMKIISecondaryProjectile.uc +++ b/sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_ZEDMKIISecondaryProjectile.uc @@ -31,7 +31,7 @@ function TakeDamage( optional int hitIndex) { local bool canTakeThisDamage; - if (damageType == class'SirenScreamDamage') + if (class(damageType) != none) { Disintegrate(hitLocation, Vect(0, 0, 1)); return;