Minor Cleanup

This commit is contained in:
PabstMirror 2015-06-09 00:51:48 -05:00
parent 7d08469df9
commit 5ce7ec48e7
3 changed files with 3 additions and 4 deletions

View File

@ -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;
};
};

View File

@ -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;

View File

@ -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>