diff --git a/Pawns/DeusEx/Classes/MJ12CloneAugShield1.uc b/Pawns/DeusEx/Classes/MJ12CloneAugShield1.uc index 2cbd75da2..593b0aa59 100644 --- a/Pawns/DeusEx/Classes/MJ12CloneAugShield1.uc +++ b/Pawns/DeusEx/Classes/MJ12CloneAugShield1.uc @@ -32,7 +32,7 @@ function Carcass SpawnCarcass() return None; } -function Explode() +function Explode(optional vector HitLocation) // argument for compatibility with Revision and VMD { local SphereEffect sphere; local ScorchMark s; @@ -41,6 +41,14 @@ function Explode() local float explosionDamage; local float explosionRadius; +#ifdef revision + Super.Explode(); + return; +#elseif vmd + Super.Explode(); + return; +#endif + explosionDamage = 100; explosionRadius = 256; diff --git a/Pawns/DeusEx/Classes/MJ12CloneAugStealth1.uc b/Pawns/DeusEx/Classes/MJ12CloneAugStealth1.uc index fb9abc154..3e1cb647b 100644 --- a/Pawns/DeusEx/Classes/MJ12CloneAugStealth1.uc +++ b/Pawns/DeusEx/Classes/MJ12CloneAugStealth1.uc @@ -42,7 +42,7 @@ function ResetSkinStyle() } } -function Explode() +function Explode(optional vector HitLocation) // argument for compatibility with Revision and VMD { local SphereEffect sphere; local ScorchMark s; @@ -51,6 +51,14 @@ function Explode() local float explosionDamage; local float explosionRadius; +#ifdef revision + Super.Explode(); + return; +#elseif vmd + Super.Explode(); + return; +#endif + explosionDamage = 100; explosionRadius = 256; diff --git a/Pawns/DeusEx/Classes/MJ12CloneAugTough1.uc b/Pawns/DeusEx/Classes/MJ12CloneAugTough1.uc index 4846f023a..7fb40bda8 100644 --- a/Pawns/DeusEx/Classes/MJ12CloneAugTough1.uc +++ b/Pawns/DeusEx/Classes/MJ12CloneAugTough1.uc @@ -24,7 +24,7 @@ function Carcass SpawnCarcass() return None; } -function Explode() +function Explode(optional vector HitLocation) // argument for compatibility with Revision and VMD { local SphereEffect sphere; local ScorchMark s; @@ -33,6 +33,14 @@ function Explode() local float explosionDamage; local float explosionRadius; +#ifdef revision + Super.Explode(); + return; +#elseif vmd + Super.Explode(); + return; +#endif + explosionDamage = 100; explosionRadius = 256; diff --git a/Pawns/DeusEx/Classes/UNATCOCloneAugShield1.uc b/Pawns/DeusEx/Classes/UNATCOCloneAugShield1.uc index 75b53eee4..fa96d855e 100644 --- a/Pawns/DeusEx/Classes/UNATCOCloneAugShield1.uc +++ b/Pawns/DeusEx/Classes/UNATCOCloneAugShield1.uc @@ -32,7 +32,7 @@ function Carcass SpawnCarcass() return None; } -function Explode() +function Explode(optional vector HitLocation) // argument for compatibility with Revision and VMD { local SphereEffect sphere; local ScorchMark s; @@ -41,6 +41,14 @@ function Explode() local float explosionDamage; local float explosionRadius; +#ifdef revision + Super.Explode(); + return; +#elseif vmd + Super.Explode(); + return; +#endif + explosionDamage = 100; explosionRadius = 256; diff --git a/Pawns/DeusEx/Classes/UNATCOCloneAugStealth1.uc b/Pawns/DeusEx/Classes/UNATCOCloneAugStealth1.uc index c3876e769..2596deb29 100644 --- a/Pawns/DeusEx/Classes/UNATCOCloneAugStealth1.uc +++ b/Pawns/DeusEx/Classes/UNATCOCloneAugStealth1.uc @@ -42,7 +42,7 @@ function ResetSkinStyle() } } -function Explode() +function Explode(optional vector HitLocation) // argument for compatibility with Revision and VMD { local SphereEffect sphere; local ScorchMark s; @@ -51,6 +51,14 @@ function Explode() local float explosionDamage; local float explosionRadius; +#ifdef revision + Super.Explode(); + return; +#elseif vmd + Super.Explode(); + return; +#endif + explosionDamage = 100; explosionRadius = 256; diff --git a/Pawns/DeusEx/Classes/UNATCOCloneAugTough1.uc b/Pawns/DeusEx/Classes/UNATCOCloneAugTough1.uc index 220e788b2..14f44425f 100644 --- a/Pawns/DeusEx/Classes/UNATCOCloneAugTough1.uc +++ b/Pawns/DeusEx/Classes/UNATCOCloneAugTough1.uc @@ -24,7 +24,7 @@ function Carcass SpawnCarcass() return None; } -function Explode() +function Explode(optional vector HitLocation) // argument for compatibility with Revision and VMD { local SphereEffect sphere; local ScorchMark s; @@ -33,6 +33,14 @@ function Explode() local float explosionDamage; local float explosionRadius; +#ifdef revision + Super.Explode(); + return; +#elseif vmd + Super.Explode(); + return; +#endif + explosionDamage = 100; explosionRadius = 256;