1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 04:10:00 +00:00

fix cam-fix

This commit is contained in:
aap 2020-12-01 17:24:56 +01:00
parent 56c471d02e
commit b8bc54640d

View file

@ -717,12 +717,12 @@ CCamera::Process(void)
LODDistMultiplier = 70.0f/CDraw::GetFOV() * CDraw::GetAspectRatio()/(4.0f/3.0f); LODDistMultiplier = 70.0f/CDraw::GetFOV() * CDraw::GetAspectRatio()/(4.0f/3.0f);
else else
LODDistMultiplier = 1.0f; LODDistMultiplier = 1.0f;
#if GTA_VERSION > GTA3_PS2_160 #ifdef FIX_BUGS
#ifndef FIX_BUGS // from VC. to high values bug out spawns
// this seems problematic for very wide aspect ratios LODDistMultiplier = Min(LODDistMultiplier, 2.2f);
// maybe just leaving it at 1.0 is the best thing to do
GenerationDistMultiplier = LODDistMultiplier;
#endif #endif
#if GTA_VERSION > GTA3_PS2_160
GenerationDistMultiplier = LODDistMultiplier;
LODDistMultiplier *= CRenderer::ms_lodDistScale; LODDistMultiplier *= CRenderer::ms_lodDistScale;
#endif #endif