Fix subsonic ammo from RHS that incorrectly inherit barrel length coefficients from supersonic ammo. Fix #3320

This commit is contained in:
esteldunedain 2016-02-19 00:46:31 -03:00
parent 38c4b1dc81
commit eac26fc239

View File

@ -112,6 +112,25 @@ class CfgAmmo {
ACE_muzzleVelocities[]={298, 330, 350};
ACE_barrelLengths[]={96.52, 127.0, 228.6};
};
class rhs_B_545x39_7U1_Ball: rhs_B_545x39_Ball {
// @todo: Provide _barrelLengths coefficients for this subsonic ammo
// In the meantime, prevent it inheriting from its supersonic parent
ACE_muzzleVelocities[]={};
ACE_barrelLengths[]={};
};
class rhs_B_9x39_SP5: rhs_B_762x39_Ball {
// @todo: Provide _barrelLengths coefficients for this subsonic ammo
// In the meantime, prevent it inheriting from its supersonic parent
ACE_muzzleVelocities[]={};
ACE_barrelLengths[]={};
};
class rhs_B_762x39_U_Ball: rhs_B_762x39_Ball {
// @todo: Provide _barrelLengths coefficients for this subsonic ammo
// In the meantime, prevent it inheriting from its supersonic parent
ACE_muzzleVelocities[]={};
ACE_barrelLengths[]={};
};
class SubmunitionBase;
class rhs_ammo_127x108mm_x5: SubmunitionBase {
ACE_rearm_caliber=13;