Skip to content

Commit

Permalink
UI - Keep getFov params consistant with previous versions
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror committed Jul 28, 2018
1 parent deb9b2e commit 0ba338e
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 0ba338e

Please sign in to comment.