1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-22 12:20:01 +00:00

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

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