From 1ea81f09a5952f00525fc178912d81428c443832 Mon Sep 17 00:00:00 2001 From: Whigital Date: Wed, 26 Jan 2022 02:33:05 +0100 Subject: [PATCH] Fix RHS LMGs being classed as closed bolt systems (#8793) --- optionals/compat_rhs_gref3/CfgWeapons.hpp | 3 ++- optionals/compat_rhs_usf3/CfgWeapons.hpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/optionals/compat_rhs_gref3/CfgWeapons.hpp b/optionals/compat_rhs_gref3/CfgWeapons.hpp index 2b04217cf3..536c7340e6 100644 --- a/optionals/compat_rhs_gref3/CfgWeapons.hpp +++ b/optionals/compat_rhs_gref3/CfgWeapons.hpp @@ -87,7 +87,8 @@ class CfgWeapons { }; class rhs_weap_mg42_base: Rifle_Base_F { - ACE_Overheating_allowSwapBarrel = 1; + EGVAR(overheating,closedBolt) = 0; + EGVAR(overheating,allowSwapBarrel) = 1; ACE_barrelTwist = 305.0; ACE_barrelLength = 530.0; }; diff --git a/optionals/compat_rhs_usf3/CfgWeapons.hpp b/optionals/compat_rhs_usf3/CfgWeapons.hpp index ebb76be932..96a6f81714 100644 --- a/optionals/compat_rhs_usf3/CfgWeapons.hpp +++ b/optionals/compat_rhs_usf3/CfgWeapons.hpp @@ -70,7 +70,8 @@ class CfgWeapons { ACE_barrelLength = 508.0; }; class rhs_weap_saw_base: Rifle_Base_F { // Base class for all Minimi - ACE_Overheating_allowSwapBarrel = 1; + EGVAR(overheating,allowSwapBarrel) = 1; + EGVAR(overheating,closedBolt) = 0; }; class rhs_weap_lmg_minimi_railed; class rhs_weap_m249_pip_S: rhs_weap_lmg_minimi_railed {