From b7050a4a92b25aa49829c80d11d7d6c112b903ad Mon Sep 17 00:00:00 2001 From: commy2 Date: Tue, 13 Jan 2015 19:31:26 +0100 Subject: [PATCH] fixing macros --- addons/common/CfgVehicles.hpp | 2 +- addons/common/XEH_preInit.sqf | 2 +- addons/common/config.cpp | 2 +- ...oadEventhandler.sqf => fnc_addCuratorUnloadEventhandler.sqf} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename addons/common/functions/{fnc_addUnloadEventhandler.sqf => fnc_addCuratorUnloadEventhandler.sqf} (100%) diff --git a/addons/common/CfgVehicles.hpp b/addons/common/CfgVehicles.hpp index 8ed770d786..94bc6f057f 100644 --- a/addons/common/CfgVehicles.hpp +++ b/addons/common/CfgVehicles.hpp @@ -30,7 +30,7 @@ class CfgVehicles { author = "$STR_ACE_Common_ACETeam"; category = "ACE"; displayName = "Check PBOs"; - function = "ACE_Common_fnc_moduleCheckPBOs"; + function = QFUNC(moduleCheckPBOs); scope = 2; isGlobal = 1; icon = QUOTE(PATHTOF(UI\IconCheckPBO_ca.paa)); diff --git a/addons/common/XEH_preInit.sqf b/addons/common/XEH_preInit.sqf index e59894c370..52ccdff4d4 100644 --- a/addons/common/XEH_preInit.sqf +++ b/addons/common/XEH_preInit.sqf @@ -134,7 +134,7 @@ PREP(monitor); PREP(showUser); // ACE_CuratorFix -PREP(addUnloadEventhandler); +PREP(addCuratorUnloadEventhandler); PREP(fixCrateContent); // Loop to update the ACE_player variable diff --git a/addons/common/config.cpp b/addons/common/config.cpp index 31ab380344..db8b8f532b 100644 --- a/addons/common/config.cpp +++ b/addons/common/config.cpp @@ -72,7 +72,7 @@ class ACE_Options { /* class RscControlsGroupNoScrollbars; class RscAttributeInventory: RscControlsGroupNoScrollbars { - onSetFocus = "[_this,""RscAttributeInventory"",'CuratorCommon'] call (uinamespace getvariable ""BIS_fnc_initCuratorAttribute""); _this select 0 call ACE_CuratorFix_fnc_addUnloadEventhandler;"; + onSetFocus = "[_this,""RscAttributeInventory"",'CuratorCommon'] call (uinamespace getvariable ""BIS_fnc_initCuratorAttribute""); _this select 0 call ACE_Common_fnc_addCuratorUnloadEventhandler;"; }; */ diff --git a/addons/common/functions/fnc_addUnloadEventhandler.sqf b/addons/common/functions/fnc_addCuratorUnloadEventhandler.sqf similarity index 100% rename from addons/common/functions/fnc_addUnloadEventhandler.sqf rename to addons/common/functions/fnc_addCuratorUnloadEventhandler.sqf