Skip to content

Commit

Permalink
GVAR instead of CLASS
Browse files Browse the repository at this point in the history
..heretic.
  • Loading branch information
Mike-MF committed Oct 23, 2023
1 parent 105c60b commit 09c60cf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion addons/bodybag/CfgVehicles.hpp
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion addons/bodybag/CfgWeapons.hpp
Original file line number Diff line number Diff line change
@@ -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);
};
};
4 changes: 2 additions & 2 deletions addons/bodybag/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"};
Expand Down

0 comments on commit 09c60cf

Please sign in to comment.