mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Mk6mortar - Remove return values from FUNC(handleFired)
(#9880)
Update fnc_handleFired.sqf
This commit is contained in:
parent
512ceaa1a1
commit
3bba9735c7
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user