From 729b7b706c1ad5debb69707594567893105cd109 Mon Sep 17 00:00:00 2001 From: jonpas Date: Mon, 18 Oct 2021 18:42:17 +0200 Subject: [PATCH] ACEX Merge - Use BWC_CONFIG macro (#8554) --- addons/field_rations/config.cpp | 5 +---- addons/fortify/config.cpp | 5 +---- addons/headless/config.cpp | 5 +---- addons/intelitems/config.cpp | 5 +---- addons/sitting/config.cpp | 5 +---- addons/viewrestriction/config.cpp | 5 +---- 6 files changed, 6 insertions(+), 24 deletions(-) diff --git a/addons/field_rations/config.cpp b/addons/field_rations/config.cpp index 2d990751b7..d7acbb66b1 100644 --- a/addons/field_rations/config.cpp +++ b/addons/field_rations/config.cpp @@ -51,10 +51,7 @@ class CfgPatches { VERSION_CONFIG; }; - class XADDON: ADDON { - units[] = {}; - weapons[] = {}; - }; + BWC_CONFIG(XADDON); }; #include "CfgEventHandlers.hpp" diff --git a/addons/fortify/config.cpp b/addons/fortify/config.cpp index 5e2185021f..ab12338982 100644 --- a/addons/fortify/config.cpp +++ b/addons/fortify/config.cpp @@ -12,10 +12,7 @@ class CfgPatches { VERSION_CONFIG; }; - class XADDON: ADDON { - units[] = {}; - weapons[] = {}; - }; + BWC_CONFIG(XADDON); }; #include "Cfg3DEN.hpp" diff --git a/addons/headless/config.cpp b/addons/headless/config.cpp index f6c4212438..1491c330b5 100644 --- a/addons/headless/config.cpp +++ b/addons/headless/config.cpp @@ -13,10 +13,7 @@ class CfgPatches { VERSION_CONFIG; }; - class XADDON: ADDON { - units[] = {}; - weapons[] = {}; - }; + BWC_CONFIG(XADDON); }; #include "ACE_Settings.hpp" diff --git a/addons/intelitems/config.cpp b/addons/intelitems/config.cpp index 20827183b1..3b9b37b5b6 100644 --- a/addons/intelitems/config.cpp +++ b/addons/intelitems/config.cpp @@ -17,10 +17,7 @@ class CfgPatches { VERSION_CONFIG; }; - class XADDON: ADDON { - units[] = {}; - weapons[] = {}; - }; + BWC_CONFIG(XADDON); }; #include "CfgEventHandlers.hpp" diff --git a/addons/sitting/config.cpp b/addons/sitting/config.cpp index 9f91f342b0..ab5c53047d 100644 --- a/addons/sitting/config.cpp +++ b/addons/sitting/config.cpp @@ -13,10 +13,7 @@ class CfgPatches { VERSION_CONFIG; }; - class XADDON: ADDON { - units[] = {}; - weapons[] = {}; - }; + BWC_CONFIG(XADDON); }; #include "ACE_Settings.hpp" diff --git a/addons/viewrestriction/config.cpp b/addons/viewrestriction/config.cpp index 946fc5bdfe..40158953cf 100644 --- a/addons/viewrestriction/config.cpp +++ b/addons/viewrestriction/config.cpp @@ -13,10 +13,7 @@ class CfgPatches { VERSION_CONFIG; }; - class XADDON: ADDON { - units[] = {}; - weapons[] = {}; - }; + BWC_CONFIG(XADDON); }; #include "CfgEventHandlers.hpp"