summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-22 00:40:46 +0100
committeraap <aap@papnet.eu>2021-01-22 00:40:46 +0100
commit8520bbd2c724437d3c0a1f918bb45d8286a11baf (patch)
tree8f68db439818083d4181f5e504f90a33c527103c
parentMerge remote-tracking branch 'origin/miami' into lcs (diff)
downloadre3-8520bbd2c724437d3c0a1f918bb45d8286a11baf.tar
re3-8520bbd2c724437d3c0a1f918bb45d8286a11baf.tar.gz
re3-8520bbd2c724437d3c0a1f918bb45d8286a11baf.tar.bz2
re3-8520bbd2c724437d3c0a1f918bb45d8286a11baf.tar.lz
re3-8520bbd2c724437d3c0a1f918bb45d8286a11baf.tar.xz
re3-8520bbd2c724437d3c0a1f918bb45d8286a11baf.tar.zst
re3-8520bbd2c724437d3c0a1f918bb45d8286a11baf.zip
-rw-r--r--src/rw/VisibilityPlugins.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rw/VisibilityPlugins.cpp b/src/rw/VisibilityPlugins.cpp
index b06c847c..602cb705 100644
--- a/src/rw/VisibilityPlugins.cpp
+++ b/src/rw/VisibilityPlugins.cpp
@@ -263,6 +263,7 @@ CVisibilityPlugins::RenderWheelAtomicCB(RpAtomic *atomic)
mi = GetAtomicModelInfo(atomic);
len = Sqrt(DistToCameraSq);
+ len *= 0.5f; // HACK HACK, LOD wheels look shite
lodatm = mi->GetAtomicFromDistance(len * TheCamera.LODDistMultiplier / VEHICLE_LODDIST_MULTIPLIER);
if(lodatm){
if(RpAtomicGetGeometry(lodatm) != RpAtomicGetGeometry(atomic))