From 17564e483ac1803bf93886408e4dc15f1d279205 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Badano?= Date: Sun, 11 Jan 2015 16:34:45 -0300 Subject: [PATCH] Unaved macros for attach --- addons/Attach/functions/fn_attach.sqf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/Attach/functions/fn_attach.sqf b/addons/Attach/functions/fn_attach.sqf index 23b9b86ee9..b4cf675096 100644 --- a/addons/Attach/functions/fn_attach.sqf +++ b/addons/Attach/functions/fn_attach.sqf @@ -39,17 +39,17 @@ switch true do { case (_itemName == "O_IR_Grenade") : { _attachedItem = "O_IRStrobe" createVehicle [0,0,0]; _attachedItem attachTo [_unit,[-0.05,0,0.12],"rightshoulder"]; - [localize "STR_AGM_Attach_IrGrenade_Attached"] call AGM_Core_fnc_displayTextStructured; + [localize "STR_AGM_Attach_IrGrenade_Attached"] call EFUNC(core,displayTextStructured); }; case (_itemName == "I_IR_Grenade") : { _attachedItem = "I_IRStrobe" createVehicle [0,0,0]; _attachedItem attachTo [_unit,[-0.05,0,0.12],"rightshoulder"]; - [localize "STR_AGM_Attach_IrGrenade_Attached"] call AGM_Core_fnc_displayTextStructured; + [localize "STR_AGM_Attach_IrGrenade_Attached"] call EFUNC(core,displayTextStructured); }; case (_itemName == "Chemlight_blue" or {_itemName == "Chemlight_green"} or {_itemName == "Chemlight_red"} or {_itemName == "Chemlight_yellow"}) : { _attachedItem = _itemName createVehicle [0,0,0]; _attachedItem attachTo [_unit,[-0.05,0,0.12],"rightshoulder"]; - [localize "STR_AGM_Attach_Chemlight_Attached"] call AGM_Core_fnc_displayTextStructured; + [localize "STR_AGM_Attach_Chemlight_Attached"] call EFUNC(core,displayTextStructured);; }; default { if (true) exitWith {};