mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
convert log macros to cba versions (#4282)
* convert log macros to cba versions * Add changes to AB * remove obsolete macro
This commit is contained in:
@ -64,8 +64,7 @@ if (_parentPath isEqualTo ["ACE_MainActions"]) then {
|
||||
|
||||
private _parentNode = [_actionTrees, _parentPath] call FUNC(findActionNode);
|
||||
if (isNil {_parentNode}) exitWith {
|
||||
ERROR("Failed to add action");
|
||||
ACE_LOGERROR_4("action (%1) to parent %2 on object %3 [%4]",(_action select 0),_parentPath,_objectType,_typeNum);
|
||||
ERROR_4("Failed to add action - action (%1) to parent %2 on object %3 [%4]",(_action select 0),_parentPath,_objectType,_typeNum);
|
||||
[]
|
||||
};
|
||||
|
||||
|
@ -33,7 +33,7 @@ private _recurseFnc = {
|
||||
private _displayName = getText (_entryCfg >> "displayName");
|
||||
private _distance = _parentDistance;
|
||||
if (isNumber (_entryCfg >> "distance")) then {_distance = getNumber (_entryCfg >> "distance");};
|
||||
// if (_distance < _parentDistance) then {ACE_LOGWARNING_3("[%1] distance %2 less than parent %3", configName _entryCfg, _distance, _parentDistance);};
|
||||
// if (_distance < _parentDistance) then {WARNING_3("[%1] distance %2 less than parent %3", configName _entryCfg, _distance, _parentDistance);};
|
||||
private _icon = getText (_entryCfg >> "icon");
|
||||
private _statement = compile (getText (_entryCfg >> "statement"));
|
||||
|
||||
|
Reference in New Issue
Block a user