From 78fc43a21023075de57e24d776c633caefabc4aa Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Thu, 28 Sep 2023 16:50:35 -0500 Subject: [PATCH] Update fnc_getTerrainProfile.sqf --- addons/common/fnc_getTerrainProfile.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/common/fnc_getTerrainProfile.sqf b/addons/common/fnc_getTerrainProfile.sqf index 3e39b72f6f..47b5c90ff3 100644 --- a/addons/common/fnc_getTerrainProfile.sqf +++ b/addons/common/fnc_getTerrainProfile.sqf @@ -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;