Merge pull request #856 from ZLau92/patch-2

Update Camera.cpp - Vehicle spawning on ultrawide aspect ratios
This commit is contained in:
aap 2020-12-01 10:00:58 +01:00 committed by GitHub
commit 6dcbc8f062
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
//