diff --git a/addons/frag/functions/fnc_dev_fragCalcDump.sqf b/addons/frag/functions/fnc_dev_fragCalcDump.sqf index 8214ffac3b..58429f33f0 100644 --- a/addons/frag/functions/fnc_dev_fragCalcDump.sqf +++ b/addons/frag/functions/fnc_dev_fragCalcDump.sqf @@ -6,7 +6,7 @@ * shouldFrag to cull non-fragmenting rounds. * * Arguments: - * 0: Display rounds that will never frag (power < 5) (default: false) + * 0: Display rounds that will never frag (power < 5). (default: false) * * Return Value: * None @@ -17,11 +17,9 @@ * Public: No */ -params [ - ["_logAll", false, [false]] -]; +params [["_logAll", false, [false]]]; -private _allAmmoConfigs = configProperties [configFile >> "cfgAmmo", "isClass _x && !('ace_frag' in configName _x)", true]; +private _allAmmoConfigs = configProperties [configFile >> "CfgAmmo", "isClass _x && !('ace_frag' in configName _x)", true]; private _processedCfgAmmos = []; private _nPrinted = 0; diff --git a/addons/frag/functions/fnc_getMaterialInfo.sqf b/addons/frag/functions/fnc_getMaterialInfo.sqf index 2ca46ac8d8..e38144b6e6 100644 --- a/addons/frag/functions/fnc_getMaterialInfo.sqf +++ b/addons/frag/functions/fnc_getMaterialInfo.sqf @@ -8,7 +8,7 @@ * on the surface hit. * * Arguments: - * 0: surfacetype - either a cfgSurfaces path .bisurf filepath + * 0: surfacetype - either a CfgSurfaces path .bisurf filepath * * Return Value: * _material - Material categories as expanded on in line 44 below @@ -34,7 +34,7 @@ if (isClass _surfaceConfig) then { if (_material isEqualTo "" || {_material isEqualTo "empty"}) then { _material = getText (_surfaceConfig >> "soundhit"); }; -} else { // Messy way when a surface isn't added to cfgSurfaces +} else { // Messy way when a surface isn't added to CfgSurfaces private _surfFileText = toLowerANSI preprocessFile _surfType; _surfFileText = _surfFileText regexReplace ["[^a-z0-9]", ""]; private _idx = ACE_FRAG_SOUNDENVIRON_STR_LEN + (_surfFileText find "soundenviron"); diff --git a/addons/frag/functions/fnc_initBlackList.sqf b/addons/frag/functions/fnc_initBlackList.sqf index ceac8ed4bd..5dee461e16 100644 --- a/addons/frag/functions/fnc_initBlackList.sqf +++ b/addons/frag/functions/fnc_initBlackList.sqf @@ -34,7 +34,7 @@ private _errors = 0; continue; }; - if (!isClass (configFile >> "cfgAmmo" >> _ammo)) then { + if (!isClass (configFile >> "CfgAmmo" >> _ammo)) then { INFO_1("Ammo class: %1 does not exist", str _ammo); INC(_errors); continue;