This commit is contained in:
VKing 2016-01-22 00:01:13 +01:00
parent 757436140b
commit 999d8ac2ce

View File

@ -28,11 +28,9 @@ if (count _LIS > 0) then {
_distance = _maxDistance;
};
if (_distance < _minDistance) then {
_distance = _minDistance;
};
_distance = _distance max _minDistance;
_accuracy = if(_accuracy < 1) then {1} else {_accuracy};
_accuracy = _accuracy max 1;
_distance = (round (_distance/_accuracy)) * _accuracy;
_distance