From d055627900515a8c7e6b61220966cd132d2fca59 Mon Sep 17 00:00:00 2001 From: Timi007 Date: Wed, 27 Nov 2024 14:00:05 +0100 Subject: [PATCH] Fix GM 3DEN attributes of BPz overwritten (#117) Fix GM 3DEN attributes of BPz overwritten --- addons/engineer/CfgVehicles.hpp | 7 ++----- addons/engineer/engineer_compat_gm/CfgVehicles.hpp | 6 +++--- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/addons/engineer/CfgVehicles.hpp b/addons/engineer/CfgVehicles.hpp index 9e25ba8..b8193e2 100644 --- a/addons/engineer/CfgVehicles.hpp +++ b/addons/engineer/CfgVehicles.hpp @@ -58,12 +58,9 @@ class CfgVehicles { }; // Assault Breacher Vehicle / MiRPz - class APC_Tracked_01_base_F; - class B_APC_Tracked_01_base_F: APC_Tracked_01_base_F { - class Attributes; - }; + class B_APC_Tracked_01_base_F; class B_APC_Tracked_01_CRV_F: B_APC_Tracked_01_base_F { - class Attributes: Attributes { + class Attributes { class GVAR(mineClearing) { displayName = CSTRING(mineClearingDisplayName); property = QGVAR(enableMineClearing); diff --git a/addons/engineer/engineer_compat_gm/CfgVehicles.hpp b/addons/engineer/engineer_compat_gm/CfgVehicles.hpp index 241a51b..5bed5fa 100644 --- a/addons/engineer/engineer_compat_gm/CfgVehicles.hpp +++ b/addons/engineer/engineer_compat_gm/CfgVehicles.hpp @@ -1,9 +1,9 @@ class CfgVehicles { - class gm_Leopard1_base; - class gm_BPz2_base: gm_Leopard1_base { + class gm_tracked_Tank_base; + class gm_Leopard1_base: gm_tracked_Tank_base { class Attributes; }; - class gm_BPz2a0_base: gm_BPz2_base { + class gm_BPz2_base: gm_Leopard1_base { class Attributes: Attributes { class GVAR(mineClearing) { displayName = CSTRING(mineClearingDisplayName);