diff options
author | aap <aap@papnet.eu> | 2020-12-01 10:00:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-01 10:00:58 +0100 |
commit | 6dcbc8f06216644bce8547d10643e63986976ec0 (patch) | |
tree | 5fa115555391d067455f9f26a7ff3df45d484875 /src | |
parent | 4ec60676e7c7d63da60648567a6fd933e225487a (diff) | |
parent | 6eb0fd52d7f36623ca78d6717fcbd64fd3e7ecd9 (diff) |
Merge pull request #856 from ZLau92/patch-2
Update Camera.cpp - Vehicle spawning on ultrawide aspect ratios
Diffstat (limited to 'src')
-rw-r--r-- | src/core/Camera.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Camera.cpp b/src/core/Camera.cpp index 1e1aa722..9281a20a 100644 --- a/src/core/Camera.cpp +++ b/src/core/Camera.cpp @@ -720,7 +720,7 @@ CCamera::Process(void) else LODDistMultiplier = 1.0f; // missing on PS2 - GenerationDistMultiplier = LODDistMultiplier; + GenerationDistMultiplier = 70.0f/CDraw::GetFOV() * fmin(CDraw::GetAspectRatio(),1.82f)/(4.0f/3.0f); LODDistMultiplier *= CRenderer::ms_lodDistScale; // |