mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix airburst ammo when the ACE_FCS is not enabled (the code is not reached anyway)
This commit is contained in:
parent
9641d306e6
commit
4df561e13a
@ -64,7 +64,7 @@ if (vectorMagnitude velocity _vehicle > 2) then {
|
||||
if (!local _gunner) exitWith {};
|
||||
|
||||
if (getNumber (configFile >> "CfgAmmo" >> _ammo >> QGVAR(Airburst)) == 1) then {
|
||||
private _zeroing = _vehicle getVariable [format ["%1_%2", QGVAR(Distance), _turret], currentZeroing _vehicle];
|
||||
private _zeroing = _vehicle getVariable [format ["%1_%2", QGVAR(Distance), _turret], currentZeroing _gunner];
|
||||
|
||||
if (_zeroing < 50) exitWith {};
|
||||
if (_zeroing > 1500) exitWith {};
|
||||
|
Loading…
Reference in New Issue
Block a user