1
0
mirror of https://github.com/acemod/ACE3.git synced 2024-08-30 18:23:18 +00:00

Mk6mortar - Remove return values from FUNC(handleFired) ()

Update fnc_handleFired.sqf
This commit is contained in:
johnb432 2024-03-28 04:37:59 +01:00 committed by GitHub
parent 512ceaa1a1
commit 3bba9735c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -24,11 +24,11 @@
params ["_vehicle", "", "", "", "", "", "_projectile"];
// Large enough distance to not simulate any wind deflection
if (_vehicle distance ACE_player > 8000) exitWith {false};
if (_vehicle distance ACE_player > 8000) exitWith {};
//AI will have no clue how to use:
private _shooterMan = gunner _vehicle;
if (!([_shooterMan] call EFUNC(common,isPlayer))) exitWith {false};
if (!([_shooterMan] call EFUNC(common,isPlayer))) exitWith {};
//Calculate air density:
private _altitude = (getPosASL _vehicle) select 2;