diff options
author | aap <aap@papnet.eu> | 2020-12-01 17:24:56 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-12-01 17:24:56 +0100 |
commit | b8bc54640d80db3d0c0a6392a0858d83a09e8304 (patch) | |
tree | 39b9488569d91cb3f60b14a4bb6e6ba57a7588ad /src/core | |
parent | Merge pull request #854 from Nick007J/master (diff) | |
download | re3-b8bc54640d80db3d0c0a6392a0858d83a09e8304.tar re3-b8bc54640d80db3d0c0a6392a0858d83a09e8304.tar.gz re3-b8bc54640d80db3d0c0a6392a0858d83a09e8304.tar.bz2 re3-b8bc54640d80db3d0c0a6392a0858d83a09e8304.tar.lz re3-b8bc54640d80db3d0c0a6392a0858d83a09e8304.tar.xz re3-b8bc54640d80db3d0c0a6392a0858d83a09e8304.tar.zst re3-b8bc54640d80db3d0c0a6392a0858d83a09e8304.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/Camera.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/Camera.cpp b/src/core/Camera.cpp index cd748f09..51876c93 100644 --- a/src/core/Camera.cpp +++ b/src/core/Camera.cpp @@ -717,12 +717,12 @@ CCamera::Process(void) LODDistMultiplier = 70.0f/CDraw::GetFOV() * CDraw::GetAspectRatio()/(4.0f/3.0f); else LODDistMultiplier = 1.0f; +#ifdef FIX_BUGS + // from VC. to high values bug out spawns + LODDistMultiplier = Min(LODDistMultiplier, 2.2f); +#endif #if GTA_VERSION > GTA3_PS2_160 -#ifndef FIX_BUGS - // this seems problematic for very wide aspect ratios - // maybe just leaving it at 1.0 is the best thing to do GenerationDistMultiplier = LODDistMultiplier; -#endif LODDistMultiplier *= CRenderer::ms_lodDistScale; #endif |