From 1e2b88f17045aa8e8633b1cde3d6f4303408f09e Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Wed, 22 Apr 2020 10:05:22 -0500 Subject: [PATCH] Minor RPT cleanup (#7658) --- addons/common/functions/fnc_checkFiles.sqf | 4 +--- addons/medical/XEH_postInit.sqf | 4 +--- addons/medical_damage/XEH_preInit.sqf | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/addons/common/functions/fnc_checkFiles.sqf b/addons/common/functions/fnc_checkFiles.sqf index b4a1fbbf74..3b6a02f33f 100644 --- a/addons/common/functions/fnc_checkFiles.sqf +++ b/addons/common/functions/fnc_checkFiles.sqf @@ -20,8 +20,6 @@ /////////////// private _version = getText (configFile >> "CfgPatches" >> "ace_main" >> "versionStr"); -INFO_1("ACE is version %1.",_version); - //CBA Versioning check - close main display if using incompatible version private _cbaVersionAr = getArray (configFile >> "CfgPatches" >> "cba_main" >> "versionAr"); private _cbaRequiredAr = getArray (configFile >> "CfgSettings" >> "CBA" >> "Versioning" >> "ACE" >> "dependencies" >> "CBA") select 1; @@ -29,7 +27,7 @@ private _cbaRequiredAr = getArray (configFile >> "CfgSettings" >> "CBA" >> "Vers private _cbaVersionStr = _cbaVersionAr joinString "."; private _cbaRequiredStr = _cbaRequiredAr joinString "."; -INFO_2("CBA is version %1 (min required %2)",_cbaVersionStr,_cbaRequiredStr); +INFO_3("ACE is version %1 - CBA is version %2 (min required %3)",_version,_cbaVersionStr,_cbaRequiredStr); if ([_cbaRequiredAr, _cbaVersionAr] call cba_versioning_fnc_version_compare) then { private _errorMsg = format ["CBA version %1 is outdated (required %2)", _cbaVersionStr, _cbaRequiredStr]; diff --git a/addons/medical/XEH_postInit.sqf b/addons/medical/XEH_postInit.sqf index 48d49d678c..89c3ced877 100644 --- a/addons/medical/XEH_postInit.sqf +++ b/addons/medical/XEH_postInit.sqf @@ -3,9 +3,6 @@ [QEGVAR(medical,setUnconscious), LINKFUNC(setUnconscious)] call CBA_fnc_addEventHandler; -// For BETA/RC - debug non-default settings to rpt: -call compile preprocessFileLineNumbers QPATHTOF(dev\reportSettings.sqf); - if (!hasInterface) exitWith {}; [missionNamespace, "ACE_setCustomAimCoef", QUOTE(ADDON), { @@ -13,6 +10,7 @@ if (!hasInterface) exitWith {}; }] call EFUNC(common,arithmeticSetSource); #ifdef DEBUG_MODE_FULL + call compile preprocessFileLineNumbers QPATHTOF(dev\reportSettings.sqf); call compile preprocessFileLineNumbers QPATHTOF(dev\watchVariable.sqf); call compile preprocessFileLineNumbers QPATHTOF(dev\debugDisplay.sqf); #endif diff --git a/addons/medical_damage/XEH_preInit.sqf b/addons/medical_damage/XEH_preInit.sqf index d537236aeb..b649db67cf 100644 --- a/addons/medical_damage/XEH_preInit.sqf +++ b/addons/medical_damage/XEH_preInit.sqf @@ -21,7 +21,7 @@ addMissionEventHandler ["Loaded",{ // DFUNC(woundsHandlerActive) = LINKFUNC(woundsHandler); // } else { - INFO("Using woundsHandlerSQF"); + // INFO("Using woundsHandlerSQF"); DFUNC(woundsHandlerActive) = LINKFUNC(woundsHandlerSQF); // };