Skip to content

Commit

Permalink
Use head direction for drawing microdag wp (#4670)
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror authored Nov 14, 2016
2 parents d40c3fd + 95699f2 commit 7fcd7cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/microdagr/functions/fnc_mapOnDrawEH.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ if (GVAR(currentApplicationPage) == 1) then {
};
};
if ((count _targetPos) == 3) then {
_relBearing = [ACE_player, _targetPos] call BIS_fnc_relativeDirTo;
_relBearing = (ACE_player getDir _targetPos) - (([ACE_player] call CBA_fnc_headDir) select 0);
_theMap drawIcon [QUOTE(PATHTO_R(images\compass_needle.paa)), [1,0.564,0.564,1], DUMMY_POS, _size, _size, _relBearing, '', 0 ];
};
};
Expand Down

0 comments on commit 7fcd7cf

Please sign in to comment.