diff --git a/addons/main/script_macros.hpp b/addons/main/script_macros.hpp index ae1e1cb685..e67c45e675 100644 --- a/addons/main/script_macros.hpp +++ b/addons/main/script_macros.hpp @@ -68,6 +68,11 @@ count = COUNT; \ } +#define MACRO_ADDBACKPACK(BACKPACK,COUNT) class _xx_##BACKPACK { \ + backpack = #BACKPACK; \ + count = COUNT; \ +} + #ifdef DISABLE_COMPILE_CACHE #define PREP(fncName) DFUNC(fncName) = compile preprocessFileLineNumbers QUOTE(PATHTOF(functions\DOUBLES(fnc,fncName).sqf))