From 09c60cfdf8ef801cabbfbbd63c7fbf788632990a Mon Sep 17 00:00:00 2001 From: Mike-MF Date: Mon, 23 Oct 2023 21:41:51 +0100 Subject: [PATCH] GVAR instead of CLASS ..heretic. --- addons/bodybag/CfgVehicles.hpp | 2 +- addons/bodybag/CfgWeapons.hpp | 2 +- addons/bodybag/config.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/bodybag/CfgVehicles.hpp b/addons/bodybag/CfgVehicles.hpp index 8e5252bf..0dfd62a8 100644 --- a/addons/bodybag/CfgVehicles.hpp +++ b/addons/bodybag/CfgVehicles.hpp @@ -1,6 +1,6 @@ class CfgVehicles { class ACE_bodyBagObject; - class CLASS(Bodybag_Object_OrangeLogo): ACE_bodyBagObject { + class GVAR(Bodybag_Object_OrangeLogo): ACE_bodyBagObject { maximumLoad = 0; transportMaxWeapons = 1; transportMaxMagazines = 1; diff --git a/addons/bodybag/CfgWeapons.hpp b/addons/bodybag/CfgWeapons.hpp index 58a91f82..8877bcd8 100644 --- a/addons/bodybag/CfgWeapons.hpp +++ b/addons/bodybag/CfgWeapons.hpp @@ -1,6 +1,6 @@ class CfgWeapons { class ACE_bodyBag; - class CLASS(Bodybag_OrangeLogo): ACE_bodyBag { + class GVAR(Bodybag_OrangeLogo): ACE_bodyBag { //picture = QPATHTOF(ui\bodybag_orange_ca.paa); }; }; diff --git a/addons/bodybag/config.cpp b/addons/bodybag/config.cpp index 5c1e7547..58744ccc 100644 --- a/addons/bodybag/config.cpp +++ b/addons/bodybag/config.cpp @@ -4,10 +4,10 @@ class CfgPatches { class ADDON { name = COMPONENT_NAME; units[] = { - QCLASS(Bodybag_Object_OrangeLogo) + QGVAR(Bodybag_Object_OrangeLogo) }; weapons[] = { - QCLASS(Bodybag_OrangeLogo) + QGVAR(Bodybag_OrangeLogo) }; requiredVersion = REQUIRED_VERSION; requiredAddons[] = {"tac_main", "ace_medical"};