Fix missing zeroing UI on vehicles without FCS

This commit is contained in:
jonpas 2016-08-11 22:34:38 +02:00
parent a2da54bfec
commit 5985f3bd26
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
class ACE_UI { class ACE_UI {
class gunnerZeroing { class gunnerZeroing {
class conditions { class conditions {
ADDON = "(false)"; ADDON = QUOTE(getNumber ([ARR_2(vehicle ACE_player, ACE_player call CBA_fnc_turretPath)] call CBA_fnc_getTurret >> 'ace_fcs_enabled') != 1);
}; };
}; };
}; };

View File

@ -143,7 +143,8 @@ class CfgVehicles {
GVAR(Enabled) = 1; GVAR(Enabled) = 1;
GVAR(MaxDistance) = 2000; GVAR(MaxDistance) = 2000;
discreteDistance[] = {}; discreteDistance[] = {};
discreteDistanceInitIndex = 0;}; discreteDistanceInitIndex = 0;
};
class CommanderTurret: CommanderTurret { class CommanderTurret: CommanderTurret {
GVAR(Enabled) = 0; GVAR(Enabled) = 0;
}; };