Skip to content

Commit

Permalink
Merge pull request #956 from CBATeam/fovParams
Browse files Browse the repository at this point in the history
UI - Keep getFov params consistant with previous versions
  • Loading branch information
ViperMaul committed Aug 1, 2018
2 parents deb9b2e + 0ba338e commit 96ed109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/ui/fnc_getFov.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Authors:
streamlined by commy2
---------------------------------------------------------------------------- */

params [["_baseFOV", 0.75, [0]]];
private _baseFOV = if (IS_SCALAR(_this)) then {_this} else {0.75};

private _trigRatio = safeZoneW / 2 / ((worldToScreen positionCameraToWorld [10000, 0, 10000] select 0) - 0.5);

Expand Down

0 comments on commit 96ed109

Please sign in to comment.