summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-12-01 17:24:56 +0100
committeraap <aap@papnet.eu>2020-12-01 17:24:56 +0100
commitb8bc54640d80db3d0c0a6392a0858d83a09e8304 (patch)
tree39b9488569d91cb3f60b14a4bb6e6ba57a7588ad
parentMerge pull request #854 from Nick007J/master (diff)
downloadre3-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
-rw-r--r--src/core/Camera.cpp8
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