From 33a06535eb699eda710d4e66d6b185df414f1fdf Mon Sep 17 00:00:00 2001 From: lambdatiger Date: Mon, 29 Jul 2024 21:04:55 -0500 Subject: [PATCH] fragmenting projectile velocity isn't used anywhere --- addons/frag/functions/fnc_fired.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/frag/functions/fnc_fired.sqf b/addons/frag/functions/fnc_fired.sqf index 86e48e1f09..2a6ca32cc2 100644 --- a/addons/frag/functions/fnc_fired.sqf +++ b/addons/frag/functions/fnc_fired.sqf @@ -56,7 +56,7 @@ if (GVAR(reflectionsEnabled) || GVAR(enabled) && _ammo call FUNC(shouldFrag)) th private _explodeEventHandler = _projectile addEventHandler [ "Explode", { - params ["_projectile", "_posASL", "_velocity"]; + params ["_projectile", "_posASL"]; if (GVAR(reflectionsEnabled)) then { [_posASL, _ammo] call FUNC(doReflections); @@ -73,7 +73,7 @@ if (GVAR(reflectionsEnabled) || GVAR(enabled) && _ammo call FUNC(shouldFrag)) th // Wait a frame to make sure it doesn't target the dead [ { [QGVAR(frag_eh), _this] call CBA_fnc_serverEvent; }, - [_posASL, _velocity, _ammo, _shotParents] + [_posASL, _ammo, _shotParents] ] call CBA_fnc_execNextFrame; } ];