From b2e9dd0149c51ddf30ec13947f31125000766c7f Mon Sep 17 00:00:00 2001 From: esteldunedain Date: Mon, 8 Feb 2016 17:03:18 -0300 Subject: [PATCH] Fix _vecy --- addons/nametags/functions/fnc_onDraw3d.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/nametags/functions/fnc_onDraw3d.sqf b/addons/nametags/functions/fnc_onDraw3d.sqf index 156893c71f..f8a9768074 100644 --- a/addons/nametags/functions/fnc_onDraw3d.sqf +++ b/addons/nametags/functions/fnc_onDraw3d.sqf @@ -103,7 +103,7 @@ if (_enabledTagsCursor) then { if (_enabledTagsNearby) then { private _camPosAGL = positionCameraToWorld [0, 0, 0]; private _camPosASL = AGLtoASL _camPosAGL; - private _vecy = (AGLtoASL positionCameraToWorld [0, 0, 1]) vectorDiff _camPosAGL; + private _vecy = (AGLtoASL positionCameraToWorld [0, 0, 1]) vectorDiff _camPosASL; // Find valid targets and cache them private _targets = [[], {