diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-25 18:40:19 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-25 18:40:19 +0100 |
commit | cea8ad4b85f56801597147b88d9d1d16b32996c6 (patch) | |
tree | 7c70f747571b392c7990de06b7645b64360930d5 /src/rw/VisibilityPlugins.cpp | |
parent | Fix function dupe (diff) | |
download | re3-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 '')
-rw-r--r-- | src/rw/VisibilityPlugins.cpp | 1 |
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; } |