Skip to content

Commit

Permalink
fixed wrong variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tuntematonjr committed Aug 12, 2022
1 parent 7afdf09 commit 01984cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/firesupport/functions/fnc_getTargetPositon.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ if !(_skipFiremode) then {
_positionStart = _positionStart getPos [parseNumber _eastingEnd, parseNumber _northingEnd]; // this is for tweaking start coordinates with distance and direction. So varnames are missleading in this.
} else {
if (_positionEnd isEqualTo [-1,-1,-1]) then {
_positionStart = [[_eastingEnd, _northingEnd], false] call CBA_fnc_mapGridToPos;
_positionEnd = [[_eastingEnd, _northingEnd], false] call CBA_fnc_mapGridToPos;
MAP(_positionEnd,_x + 1);
};
};
Expand Down

0 comments on commit 01984cd

Please sign in to comment.