From cea8ad4b85f56801597147b88d9d1d16b32996c6 Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Mon, 25 Jan 2021 19:40:19 +0200 Subject: Fix check --- src/rw/VisibilityPlugins.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/rw') 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; } -- cgit v1.2.3