Fix _vecy

This commit is contained in:
esteldunedain 2016-02-08 17:03:18 -03:00
parent 73499489e0
commit b2e9dd0149

View File

@ -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 = [[], {