Fix check

This commit is contained in:
Sergeanur 2021-01-25 19:40:19 +02:00
parent 129d7333be
commit cea8ad4b85

View file

@ -463,6 +463,7 @@ CVisibilityPlugins::RenderVehicleHiDetailCB_Boat(RpAtomic *atomic)
RpAtomic* RpAtomic*
CVisibilityPlugins::RenderVehicleHiDetailCB_Boat_Far(RpAtomic *atomic) CVisibilityPlugins::RenderVehicleHiDetailCB_Boat_Far(RpAtomic *atomic)
{ {
if(DistToCameraSq < ms_bigVehicleLod1Dist)
RENDERCALLBACK(atomic); RENDERCALLBACK(atomic);
return atomic; return atomic;
} }