From 5ce7ec48e718838709a5959a26f6ab439b5cb20f Mon Sep 17 00:00:00 2001 From: PabstMirror <elephantisaterriblemascot@gmail.com> Date: Tue, 9 Jun 2015 00:51:48 -0500 Subject: [PATCH] Minor Cleanup --- addons/finger/functions/fnc_incomingFinger.sqf | 2 +- addons/finger/functions/fnc_perFrameEH.sqf | 3 +-- addons/finger/stringtable.xml | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/addons/finger/functions/fnc_incomingFinger.sqf b/addons/finger/functions/fnc_incomingFinger.sqf index 4476d138af..83e2916e4f 100644 --- a/addons/finger/functions/fnc_incomingFinger.sqf +++ b/addons/finger/functions/fnc_incomingFinger.sqf @@ -32,4 +32,4 @@ HASH_SET(GVAR(fingersHash), _sourceUnit, _data); if (GVAR(pfeh_id) == -1) then { GVAR(pfeh_id) = [DFUNC(perFrameEH), 0, []] call CBA_fnc_addPerFrameHandler; -}; \ No newline at end of file +}; diff --git a/addons/finger/functions/fnc_perFrameEH.sqf b/addons/finger/functions/fnc_perFrameEH.sqf index 7b6b937827..5a2a9fa278 100644 --- a/addons/finger/functions/fnc_perFrameEH.sqf +++ b/addons/finger/functions/fnc_perFrameEH.sqf @@ -15,7 +15,7 @@ */ #include "script_component.hpp" -private["_drawColor", "_fovCorrection", "_iconSize", "_sourceUnit", "_timeLeftToShow"]; +private["_drawColor", "_fovCorrection", "_iconSize", "_timeLeftToShow"]; if (!alive ACE_player) then {GVAR(fingersHash) = HASH_CREATE;}; // Conditions: canInteract @@ -27,7 +27,6 @@ _fovCorrection = ((worldToScreen (positionCameraToWorld [1000, 0, 10000])) selec _iconSize = BASE_SIZE * _fovCorrection; { - _sourceUnit = _x; _data = HASH_GET(GVAR(fingersHash), _x); EXPLODE_3_PVT(_data,_lastTime,_pos,_name); _timeLeftToShow = _lastTime + FP_TIMEOUT - ACE_diagTime; diff --git a/addons/finger/stringtable.xml b/addons/finger/stringtable.xml index 3f1a31103c..9a069e5f58 100644 --- a/addons/finger/stringtable.xml +++ b/addons/finger/stringtable.xml @@ -22,7 +22,7 @@ <Russian>Действие "показать пальцем на"</Russian> </Key> <Key ID="STR_ACE_finger_keyComb_description"> - <English>Points, and shows a virtual marker of where you are looking to nearby units.</English> + <English>Points, and shows a virtual marker of where you are looking to nearby units. Can be held down.</English> </Key> <Key ID="STR_ACE_finger_moduleSettings_displayName"> <English>Finger Settings</English>