Skip to content

Commit

Permalink
Update fnc_paradropItem.sqf
Browse files Browse the repository at this point in the history
apply new fix
  • Loading branch information
LupusTheCanine committed Apr 9, 2021
1 parent 0dd075f commit 3db5cc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/cargo/functions/fnc_paradropItem.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ if (_item isEqualType objNull) then {
_object = createVehicle [_item, _posBehindVehicleAGL, [], 0, "NONE"];
_object setPosASL (AGLtoASL _posBehindVehicleAGL);
};

_object setVelocity ((velocity _vehicle) vectorAdd ((vectorNormalized (vectorDir _vehicle)) vectorMultiply -5));
private _velocity((velocity _vehicle) vectorAdd ((vectorNormalized (vectorDir _vehicle)) vectorMultiply -5));
[QEGVAR(common,setVelocity), [_object, _velocity],_object] call CBA_fnc_targetEvent;

// open parachute and ir light effect
[{
Expand Down

0 comments on commit 3db5cc1

Please sign in to comment.