Skip to content

Commit

Permalink
Merge pull request #1614 from CBATeam/fixTerMacro
Browse files Browse the repository at this point in the history
Common - Fix `CBA_fnc_getTerrainProfile` macro
  • Loading branch information
PabstMirror committed Sep 29, 2023
2 parents 71895cb + 78fc43a commit ee1eb5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/common/fnc_getTerrainProfile.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ _posA = _posA call CBA_fnc_getPos;
_posB = _posB call CBA_fnc_getPos;
_posA set [2,0]; _posB set [2,0];

DEFAULT_PARAM(2, _resolution,10);
DEFAULT_PARAM(2,_resolution,10);

private _angle = [_posA, _posB] call BIS_fnc_dirTo;
private _2Ddistance = [_posA, _posB] call BIS_fnc_distance2D;
Expand Down

0 comments on commit ee1eb5a

Please sign in to comment.