Merge pull request #3187 from acemod/fixFCS

Add missing FUNC to FCS key (Rangefinders)
This commit is contained in:
Thomas Kooi 2016-01-19 16:05:56 +01:00
commit b99be6122b
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
params ["_vehicle", "_turret"]; params ["_vehicle", "_turret"];
private _distance = call FUNC(getRange); private _distance = call FUNC(getRange);
call (updateRangeHUD); call FUNC(updateRangeHUD);
if !(!GVAR(enabled) && FUNC(canUseFCS)) exitWith {}; if !(!GVAR(enabled) && FUNC(canUseFCS)) exitWith {};

View File

@ -17,7 +17,7 @@ params ["_vehicle", "_turret", "_distance", ["_showHint", false], ["_playSound",
private _turretConfig = [configFile >> "CfgVehicles" >> typeOf _vehicle, _turret] call EFUNC(common,getTurretConfigPath); private _turretConfig = [configFile >> "CfgVehicles" >> typeOf _vehicle, _turret] call EFUNC(common,getTurretConfigPath);
call (updateRangeHUD); call FUNC(updateRangeHUD);
if (isNil "_distance") then { if (isNil "_distance") then {
_distance = call FUNC(getRange); _distance = call FUNC(getRange);