summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-25 18:40:19 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-25 18:40:19 +0100
commitcea8ad4b85f56801597147b88d9d1d16b32996c6 (patch)
tree7c70f747571b392c7990de06b7645b64360930d5 /src
parentFix function dupe (diff)
downloadre3-cea8ad4b85f56801597147b88d9d1d16b32996c6.tar
re3-cea8ad4b85f56801597147b88d9d1d16b32996c6.tar.gz
re3-cea8ad4b85f56801597147b88d9d1d16b32996c6.tar.bz2
re3-cea8ad4b85f56801597147b88d9d1d16b32996c6.tar.lz
re3-cea8ad4b85f56801597147b88d9d1d16b32996c6.tar.xz
re3-cea8ad4b85f56801597147b88d9d1d16b32996c6.tar.zst
re3-cea8ad4b85f56801597147b88d9d1d16b32996c6.zip
Diffstat (limited to 'src')
-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 ad6c2f9f..754c8778 100644
--- a/src/rw/VisibilityPlugins.cpp
+++ b/src/rw/VisibilityPlugins.cpp
@@ -463,6 +463,7 @@ CVisibilityPlugins::RenderVehicleHiDetailCB_Boat(RpAtomic *atomic)
RpAtomic*
CVisibilityPlugins::RenderVehicleHiDetailCB_Boat_Far(RpAtomic *atomic)
{
+ if(DistToCameraSq < ms_bigVehicleLod1Dist)
RENDERCALLBACK(atomic);
return atomic;
}