From c56c5295df7ab6edd5303313a4c01d3a63ab9df1 Mon Sep 17 00:00:00 2001 From: AdozenBABYdogs Date: Fri, 3 Nov 2023 22:22:18 +0200 Subject: [PATCH] Cannot get SCONS to work right now Going to try to rebase onto main once Yax finishes the final build --- addons/uh60_weapons/functions/fnc_HARMGuidence.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/uh60_weapons/functions/fnc_HARMGuidence.sqf b/addons/uh60_weapons/functions/fnc_HARMGuidence.sqf index b0fb3766..73ddbf2c 100644 --- a/addons/uh60_weapons/functions/fnc_HARMGuidence.sqf +++ b/addons/uh60_weapons/functions/fnc_HARMGuidence.sqf @@ -37,7 +37,7 @@ params ["_projectile", "_ammo"]; */ if (!_foundTarget) then { if ((_missileTgtPos # 1) != 0) then { - _target = [_projectile, ((_missileTgtPos # 1)*5.6712818 + 10), (_missileTgtPos # 0)] call vtx_uh60_weapons_fnc_HARMGuidence; + _target = [_projectile, ((_missileTgtPos # 1)*5.6712818 + 10), (_missileTgtPos # 0)] call vtx_uh60_weapons_fnc_getHARMTarget; if (_target != objNull) then { _targetPos = getPosASL _target; } else { @@ -54,7 +54,7 @@ params ["_projectile", "_ammo"]; _vecDir = vectorNormalized _vecDir; _missileTgtPos = [getPosASL _projectile, _vecDir, _projectile, blockey] call ace_laser_fnc_shootRay; if ((_missileTgtPos # 1) != 0) then { - _target = [_projectile, ((_missileTgtPos # 1)*5.6712818 + 10), (_missileTgtPos # 0)] call vtx_uh60_weapons_fnc_HARMGuidence; + _target = [_projectile, ((_missileTgtPos # 1)*5.6712818 + 10), (_missileTgtPos # 0)] call vtx_uh60_weapons_fnc_getHARMTarget; if (_target != objNull) then { _targetPos = getPosASL _target; } else {