Browse Source

Change projectile fix to support new AcediaCore

master
Anton Tarasenko 2 years ago
parent
commit
3887f680d0
  1. 2
      sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_FlareRevolverProjectile.uc
  2. 2
      sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_HuskGunProjectile.uc
  3. 2
      sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_LAWProj.uc
  4. 2
      sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_M203GrenadeProjectile.uc
  5. 2
      sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_M32GrenadeProjectile.uc
  6. 2
      sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_M79GrenadeProjectile.uc
  7. 2
      sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_SPGrenadeProjectile.uc
  8. 2
      sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_SealSquealProjectile.uc
  9. 2
      sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_ZEDGunProjectile.uc
  10. 2
      sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_ZEDMKIIPrimaryProjectile.uc
  11. 2
      sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_ZEDMKIISecondaryProjectile.uc

2
sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_FlareRevolverProjectile.uc

@ -31,7 +31,7 @@ function TakeDamage(
optional int hitIndex)
{
local bool canTakeThisDamage;
if (damageType == class'SirenScreamDamage')
if (class<SirenScreamDamage>(damageType) != none)
{
Disintegrate(hitLocation, Vect(0, 0, 1));
return;

2
sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_HuskGunProjectile.uc

@ -30,7 +30,7 @@ function TakeDamage(
optional int hitIndex)
{
local bool canTakeThisDamage;
if (damageType == class'SirenScreamDamage')
if (class<SirenScreamDamage>(damageType) != none)
{
Disintegrate(hitLocation, Vect(0, 0, 1));
return;

2
sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_LAWProj.uc

@ -30,7 +30,7 @@ function TakeDamage(
optional int hitIndex)
{
local bool canTakeThisDamage;
if (damageType == class'SirenScreamDamage')
if (class<SirenScreamDamage>(damageType) != none)
{
Disintegrate(hitLocation, Vect(0, 0, 1));
return;

2
sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_M203GrenadeProjectile.uc

@ -30,7 +30,7 @@ function TakeDamage(
optional int hitIndex)
{
local bool canTakeThisDamage;
if (damageType == class'SirenScreamDamage')
if (class<SirenScreamDamage>(damageType) != none)
{
Disintegrate(hitLocation, Vect(0, 0, 1));
return;

2
sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_M32GrenadeProjectile.uc

@ -30,7 +30,7 @@ function TakeDamage(
optional int hitIndex)
{
local bool canTakeThisDamage;
if (damageType == class'SirenScreamDamage')
if (class<SirenScreamDamage>(damageType) != none)
{
Disintegrate(hitLocation, Vect(0, 0, 1));
return;

2
sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_M79GrenadeProjectile.uc

@ -30,7 +30,7 @@ function TakeDamage(
optional int hitIndex)
{
local bool canTakeThisDamage;
if (damageType == class'SirenScreamDamage')
if (class<SirenScreamDamage>(damageType) != none)
{
Disintegrate(hitLocation, Vect(0, 0, 1));
return;

2
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<SirenScreamDamage>(damageType) != none)
{
Disintegrate(hitLocation, Vect(0, 0, 1));
return;

2
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<SirenScreamDamage>(damageType) != none)
{
Disintegrate(hitLocation, Vect(0, 0, 1));
return;

2
sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_ZEDGunProjectile.uc

@ -30,7 +30,7 @@ function TakeDamage(
optional int hitIndex)
{
local bool canTakeThisDamage;
if (damageType == class'SirenScreamDamage')
if (class<SirenScreamDamage>(damageType) != none)
{
Disintegrate(hitLocation, Vect(0, 0, 1));
return;

2
sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_ZEDMKIIPrimaryProjectile.uc

@ -31,7 +31,7 @@ function TakeDamage(
optional int hitIndex)
{
local bool canTakeThisDamage;
if (damageType == class'SirenScreamDamage')
if (class<SirenScreamDamage>(damageType) != none)
{
Disintegrate(hitLocation, Vect(0, 0, 1));
return;

2
sources/FixProjectileFF/FixedClasses/FixProjectileFFClass_ZEDMKIISecondaryProjectile.uc

@ -31,7 +31,7 @@ function TakeDamage(
optional int hitIndex)
{
local bool canTakeThisDamage;
if (damageType == class'SirenScreamDamage')
if (class<SirenScreamDamage>(damageType) != none)
{
Disintegrate(hitLocation, Vect(0, 0, 1));
return;

Loading…
Cancel
Save