From a4391a713d4c042c0b41f0c0c3e9d612cfc533f0 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Mon, 22 Feb 2016 15:30:16 -0600 Subject: [PATCH] Cleanup old cba SLX_XEH_COMPILE_NEW code --- addons/main/config.cpp | 7 ------- addons/main/script_macros.hpp | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/addons/main/config.cpp b/addons/main/config.cpp index 57e2c782b8..a013d8e971 100644 --- a/addons/main/config.cpp +++ b/addons/main/config.cpp @@ -564,10 +564,3 @@ class CfgMods { #include "CfgModuleCategories.hpp" #include "CfgVehicleClasses.hpp" - -// @todo delete this after CBA update, defines undefined global variable -class Extended_PreStart_EventHandlers { - class ADDON { - init = "with uiNamespace do {SLX_XEH_COMPILE_NEW = CBA_fnc_compileFunction};"; - }; -}; diff --git a/addons/main/script_macros.hpp b/addons/main/script_macros.hpp index 544cff6842..a64c8e014d 100644 --- a/addons/main/script_macros.hpp +++ b/addons/main/script_macros.hpp @@ -84,7 +84,7 @@ #ifdef DISABLE_COMPILE_CACHE #define PREP(fncName) DFUNC(fncName) = compile preprocessFileLineNumbers QUOTE(PATHTOF(functions\DOUBLES(fnc,fncName).sqf)) #else - #define PREP(fncName) [QUOTE(PATHTOF(functions\DOUBLES(fnc,fncName).sqf)), QFUNC(fncName)] call SLX_XEH_COMPILE_NEW + #define PREP(fncName) [QUOTE(PATHTOF(functions\DOUBLES(fnc,fncName).sqf)), QFUNC(fncName)] call CBA_fnc_compileFunction #endif #define PREP_MODULE(folder) [] call compile preprocessFileLineNumbers QUOTE(PATHTOF(folder\__PREP__.sqf))