Skip to content

Commit

Permalink
Use head direction for drawing microdag wp
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror committed Nov 14, 2016
1 parent d40c3fd commit 95699f2
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 95699f2

Please sign in to comment.