mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fragmenting projectile velocity isn't used anywhere
This commit is contained in:
parent
5df635cd61
commit
33a06535eb
@ -56,7 +56,7 @@ if (GVAR(reflectionsEnabled) || GVAR(enabled) && _ammo call FUNC(shouldFrag)) th
|
|||||||
private _explodeEventHandler = _projectile addEventHandler [
|
private _explodeEventHandler = _projectile addEventHandler [
|
||||||
"Explode",
|
"Explode",
|
||||||
{
|
{
|
||||||
params ["_projectile", "_posASL", "_velocity"];
|
params ["_projectile", "_posASL"];
|
||||||
|
|
||||||
if (GVAR(reflectionsEnabled)) then {
|
if (GVAR(reflectionsEnabled)) then {
|
||||||
[_posASL, _ammo] call FUNC(doReflections);
|
[_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
|
// Wait a frame to make sure it doesn't target the dead
|
||||||
[
|
[
|
||||||
{ [QGVAR(frag_eh), _this] call CBA_fnc_serverEvent; },
|
{ [QGVAR(frag_eh), _this] call CBA_fnc_serverEvent; },
|
||||||
[_posASL, _velocity, _ammo, _shotParents]
|
[_posASL, _ammo, _shotParents]
|
||||||
] call CBA_fnc_execNextFrame;
|
] call CBA_fnc_execNextFrame;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user