Small coding standard changes (missing semicolons on non-return values, extra parenthesis)

This commit is contained in:
lambdatiger 2024-03-02 17:59:45 -06:00
parent e3395c5a20
commit f57ac94325
2 changed files with 5 additions and 5 deletions

View File

@ -20,7 +20,7 @@ if (!GVAR(debugOptions)) exitWith {};
{
_y params ["_posArray", "_color"];
if (count (_posArray) > 1) then {
if (count _posArray > 1) then {
for "_j" from 1 to count _posArray - 1 do {
drawLine3D [_posArray#(_j-1), _posArray#_j, _color];
};

View File

@ -21,14 +21,14 @@ params [["_logAll", false, [false]]];
private _allAmmoConfigs = configProperties [configFile >> "CfgAmmo", "isClass _x && !('ace_frag' in configName _x)", true];
private _processedCfgAmmos = [];
private _nPrinted = 0;
private _numberPrinted = 0;
diag_log text "//****************** fragCalcDump Beg ******************//";
{ // Begin _allAmmoConfigs forEach
private _ammo = configName _x;
if (_ammo isEqualTo "" || {_ammo in _processedCfgAmmos}) then {
continue
continue;
};
private _shouldFrag = [_ammo] call FUNC(shouldFrag);
@ -48,11 +48,11 @@ diag_log text "//****************** fragCalcDump Beg ******************//";
diag_log text format [" Frag range: %1", _fragRange];
diag_log text format [" Frag speed range: %1", _fragPowerSpeedRange];
diag_log text format [" Number frags: %1", _fragCount];
INC(_nPrinted);
INC(_numberPrinted);
};
_processedCfgAmmos pushBack _ammo;
} forEach _allAmmoConfigs;
diag_log text "//****************** fragCalcDump End ******************//";
diag_log text format ["//********************** printed %1 *********************//", _nPrinted];
diag_log text format ["//********************** printed %1 *********************//", _numberPrinted];