From 5a2d7d59b64ea0265c8ba2b95d28d356eb55b8d2 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Sat, 14 Mar 2015 21:38:16 -0500 Subject: [PATCH] Maptools - Use MACRO_ADDITEM from Main --- addons/maptools/CfgVehicles.hpp | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/addons/maptools/CfgVehicles.hpp b/addons/maptools/CfgVehicles.hpp index 9963f6b067..4ecc649893 100644 --- a/addons/maptools/CfgVehicles.hpp +++ b/addons/maptools/CfgVehicles.hpp @@ -1,8 +1,3 @@ -#define MACRO_ADDITEM(ITEM,COUNT) class _xx_##ITEM { \ - name = #ITEM; \ - count = COUNT; \ - }; - class CfgVehicles { class Man; class CAManBase: Man { @@ -103,31 +98,31 @@ class CfgVehicles { class Box_NATO_Support_F: NATO_Box_Base { class TransportItems { - MACRO_ADDITEM(ACE_MapTools,12) + MACRO_ADDITEM(ACE_MapTools,12); }; }; class Box_East_Support_F: EAST_Box_Base { class TransportItems { - MACRO_ADDITEM(ACE_MapTools,12) + MACRO_ADDITEM(ACE_MapTools,12); }; }; class Box_IND_Support_F: IND_Box_Base { class TransportItems { - MACRO_ADDITEM(ACE_MapTools,12) + MACRO_ADDITEM(ACE_MapTools,12); }; }; class Box_FIA_Support_F: FIA_Box_Base_F { class TransportItems { - MACRO_ADDITEM(ACE_MapTools,12) + MACRO_ADDITEM(ACE_MapTools,12); }; }; class ACE_Box_Misc: Box_NATO_Support_F { class TransportItems { - MACRO_ADDITEM(ACE_MapTools,12) + MACRO_ADDITEM(ACE_MapTools,12); }; }; };