Normalize 2 more files

This commit is contained in:
jonpas 2016-06-09 14:25:57 +02:00
parent bd5f6107a0
commit b97ba4990d
2 changed files with 7 additions and 7 deletions

View File

@ -25,12 +25,12 @@ if (_assistant isEqualTo _gunner) then {
// Barrel mount gesture
_gunner playAction QGVAR(GestureMountMuzzle);
playSound "ACE_BarrelSwap";
};
// don't consume the barrel, but rotate through them.
[localize LSTRING(SwappedBarrel), QPATHTOF(UI\spare_barrel_ca.paa)] call EFUNC(common,displayTextPicture);
};
private _temp = _gunner getVariable [format [QGVAR(%1_temp), _weapon], 0];
// don't consume the barrel, but rotate through them.
[localize LSTRING(SwappedBarrel), QPATHTOF(UI\spare_barrel_ca.paa)] call EFUNC(common,displayTextPicture);
private _temp = _gunner getVariable [format [QGVAR(%1_temp), _weapon], 0];
private _barrelMass = 0.50 * (getNumber (configFile >> "CfgWeapons" >> _weapon >> "WeaponSlotsInfo" >> "mass") / 22.0) max 1.0;
// Instruct the server to load the coolest spare barrel into the weapon and

View File

@ -20,8 +20,8 @@ params ["_unit", "_item"];
TRACE_2("params",_unit,_item);
if ([_unit, _item] call EFUNC(common,hasItem)) exitWith {
["ace_useItem", [_unit, _item], _unit] call CBA_fnc_targetEvent;
[true, _unit];
["ace_useItem", [_unit, _item], _unit] call CBA_fnc_targetEvent;
[true, _unit];
};
[false, objNull];