Skip to content

Commit 5ee330d

Browse files
committed
Merge branch 'master' into release-3.15.3
2 parents bdad582 + ef20c8c commit 5ee330d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

addons/xeh/fnc_compileFunction.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ params [["_funcFile", "", [""]], ["_funcName", "", [""]]];
2727
private _cachedFunc = uiNamespace getVariable _funcName;
2828

2929
if (isNil "_cachedFunc") then {
30-
uiNamespace setVariable [_funcName, compileFinal preprocessFileLineNumbers _funcFile];
30+
uiNamespace setVariable [_funcName, compileScript [_funcFile, true]];
3131
missionNamespace setVariable [_funcName, uiNamespace getVariable _funcName];
3232
} else {
3333
if (["compile"] call CBA_fnc_isRecompileEnabled) then {

addons/xeh/fnc_preInit.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ SLX_XEH_DisableLogging = uiNamespace getVariable ["SLX_XEH_DisableLogging", fals
2626
XEH_LOG("PreInit started. v" + getText (configFile >> "CfgPatches" >> "cba_common" >> "versionStr"));
2727

2828
SLX_XEH_STR = ""; // does nothing, never changes, backwards compatibility
29-
SLX_XEH_COMPILE = compileFinal "compile preprocessFileLineNumbers _this"; //backwards comps
29+
SLX_XEH_COMPILE = compileFinal "diag_log text format ['[CBA-XEH] old SLX_XEH_COMPILE macro used on %1', _this]; compile preprocessFileLineNumbers _this"; //backwards compat
3030
SLX_XEH_COMPILE_NEW = CBA_fnc_compileFunction; //backwards comp
3131
SLX_XEH_DUMMY = "Logic"; // backwards comp
3232

addons/xeh/fnc_preStart.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ with uiNamespace do {
2323

2424
XEH_LOG("PreStart started.");
2525

26-
SLX_XEH_COMPILE = compileFinal "compile preprocessFileLineNumbers _this"; //backwards comps
26+
SLX_XEH_COMPILE = compileFinal "diag_log text format ['[CBA-XEH] old SLX_XEH_COMPILE macro used on %1', _this]; compile preprocessFileLineNumbers _this"; //backwards compat
2727
SLX_XEH_COMPILE_NEW = CBA_fnc_compileFunction; //backwards comp
2828

2929
PREP(initDisplay3DEN);

0 commit comments

Comments
 (0)