summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZach Charo <zach@zlau.net>2020-12-01 02:08:15 +0100
committerGitHub <noreply@github.com>2020-12-01 02:08:15 +0100
commit6eb0fd52d7f36623ca78d6717fcbd64fd3e7ecd9 (patch)
tree653ec27a524697c42c0b02b9371b50b52439d1fb
parentsome more GTA_VERSION (diff)
downloadre3-6eb0fd52d7f36623ca78d6717fcbd64fd3e7ecd9.tar
re3-6eb0fd52d7f36623ca78d6717fcbd64fd3e7ecd9.tar.gz
re3-6eb0fd52d7f36623ca78d6717fcbd64fd3e7ecd9.tar.bz2
re3-6eb0fd52d7f36623ca78d6717fcbd64fd3e7ecd9.tar.lz
re3-6eb0fd52d7f36623ca78d6717fcbd64fd3e7ecd9.tar.xz
re3-6eb0fd52d7f36623ca78d6717fcbd64fd3e7ecd9.tar.zst
re3-6eb0fd52d7f36623ca78d6717fcbd64fd3e7ecd9.zip
-rw-r--r--src/core/Camera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Camera.cpp b/src/core/Camera.cpp
index 1e1aa722..9281a20a 100644
--- a/src/core/Camera.cpp
+++ b/src/core/Camera.cpp
@@ -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;
//