Viewdistance - Fix viewdistance from videosettings (#9140)

This commit is contained in:
Whigital 2023-03-18 20:28:27 +01:00 committed by GitHub
parent 2092d4fd71
commit 50100b8178
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@
params ["_viewDistance", "_showPrompt"]; params ["_viewDistance", "_showPrompt"];
if (_viewDistance == 0) then { // Video Settings if (_viewDistance == 0) then { // Video Settings
_viewDistance = viewDistance; _viewDistance = (getVideoOptions get "overallVisibility");
}; };
private _objectViewDistanceCoeff = [GVAR(objectViewDistanceCoeff)] call FUNC(returnObjectCoeff); // changes the setting index into a coefficient. private _objectViewDistanceCoeff = [GVAR(objectViewDistanceCoeff)] call FUNC(returnObjectCoeff); // changes the setting index into a coefficient.