From a92bdfdb580bebb6e3da87dc408a9bf06fe93aef Mon Sep 17 00:00:00 2001 From: commy2 Date: Sat, 28 Mar 2015 11:15:41 +0100 Subject: [PATCH] macros --- addons/repair/functions/fnc_canRemoveWheel.sqf | 2 +- addons/repair/functions/fnc_canRepair.sqf | 2 +- addons/repair/functions/fnc_canReplaceWheel.sqf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/repair/functions/fnc_canRemoveWheel.sqf b/addons/repair/functions/fnc_canRemoveWheel.sqf index 0138991503..1938eb44be 100644 --- a/addons/repair/functions/fnc_canRemoveWheel.sqf +++ b/addons/repair/functions/fnc_canRemoveWheel.sqf @@ -19,6 +19,6 @@ _unit = _this select 0; _target = _this select 1; _hitPoint = _this select 2; -if !([_unit, _target, []] call ace_common_fnc_canInteractWith) exitWith {false}; +if !([_unit, _target, []] call EFUNC(common,canInteractWith)) exitWith {false}; alive _target && {_target getHitPointDamage _hitPoint < 1} diff --git a/addons/repair/functions/fnc_canRepair.sqf b/addons/repair/functions/fnc_canRepair.sqf index 22f98373aa..565b739983 100644 --- a/addons/repair/functions/fnc_canRepair.sqf +++ b/addons/repair/functions/fnc_canRepair.sqf @@ -19,6 +19,6 @@ _unit = _this select 0; _target = _this select 1; _hitPoint = _this select 2; -if !([_unit, _target, []] call ace_common_fnc_canInteractWith) exitWith {false}; +if !([_unit, _target, []] call EFUNC(common,canInteractWith)) exitWith {false}; alive _target && {_target getHitPointDamage _hitPoint > 0} diff --git a/addons/repair/functions/fnc_canReplaceWheel.sqf b/addons/repair/functions/fnc_canReplaceWheel.sqf index b3e886a607..93a769c121 100644 --- a/addons/repair/functions/fnc_canReplaceWheel.sqf +++ b/addons/repair/functions/fnc_canReplaceWheel.sqf @@ -19,6 +19,6 @@ _unit = _this select 0; _target = _this select 1; _hitPoint = _this select 2; -if !([_unit, _target, []] call ace_common_fnc_canInteractWith) exitWith {false}; +if !([_unit, _target, []] call EFUNC(common,canInteractWith)) exitWith {false}; alive _target && {_target getHitPointDamage _hitPoint >= 1}