diff --git a/addons/pike/CfgAmmo.hpp b/addons/pike/CfgAmmo.hpp index 80e6ea54d5..224f820fad 100644 --- a/addons/pike/CfgAmmo.hpp +++ b/addons/pike/CfgAmmo.hpp @@ -77,7 +77,7 @@ class CfgAmmo { // Attack profile type selection defaultAttackProfile = "LIN"; - attackProfiles[] = { "LIN" }; + attackProfiles[] = {"LIN"}; }; }; }; diff --git a/addons/pike/functions/fnc_ammoFired.sqf b/addons/pike/functions/fnc_ammoFired.sqf index 6d6bd18168..dd99c5f60f 100644 --- a/addons/pike/functions/fnc_ammoFired.sqf +++ b/addons/pike/functions/fnc_ammoFired.sqf @@ -23,7 +23,7 @@ if (isNull _projectile) exitWith {}; // Get MissileGuidance args now private _firedEH = +_this; -// Inject the submuntion ammo into guidance args +// Inject the submunition ammo into guidance args _firedEH set [4, getText (configFile >> "CfgAmmo" >> _ammo >> "submunitionAmmo")]; private _guidanceArgs = _firedEH call EFUNC(missileguidance,onFiredDeferred); _projectile setVariable [QGVAR(guidanceArgs), _guidanceArgs]; @@ -35,7 +35,7 @@ _projectile addEventHandler ["SubmunitionCreated", { private _guidanceArgs = _projectile getVariable [QGVAR(guidanceArgs), []]; if (_guidanceArgs isEqualTo []) exitWith { ERROR_1("bad args %1",_projectile); }; - // Inject the submuntion projectile and time into guidance args + // Inject the submunition projectile and time into guidance args _guidanceArgs params ["_firedEH", "", "", "", "_stateParams"]; _firedEH set [6, _submunitionProjectile]; // _firedEH params ["","","","","","","_projectile"]; _stateParams set [0, diag_tickTime]; // _stateParams params ["_lastRunTime"]