From 129d7333beedf53d1bcdca441cc12ca064c14427 Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Mon, 25 Jan 2021 19:38:13 +0200 Subject: Fix function dupe --- src/rw/VisibilityPlugins.cpp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src') diff --git a/src/rw/VisibilityPlugins.cpp b/src/rw/VisibilityPlugins.cpp index ae6eda47..ad6c2f9f 100644 --- a/src/rw/VisibilityPlugins.cpp +++ b/src/rw/VisibilityPlugins.cpp @@ -497,23 +497,6 @@ CVisibilityPlugins::RenderVehicleLoDetailCB_Boat(RpAtomic *atomic) return atomic; } -RpAtomic* -CVisibilityPlugins::RenderVehicleLoDetailCB_Boat(RpAtomic *atomic) -{ - RpClump *clump; - int32 alpha; - - clump = RpAtomicGetClump(atomic); - if(DistToCameraSq >= ms_vehicleLod0Dist){ - alpha = GetClumpAlpha(clump); - if(alpha == 255) - RENDERCALLBACK(atomic); - else - RenderAlphaAtomic(atomic, alpha); - } - return atomic; -} - RpAtomic* CVisibilityPlugins::RenderVehicleLoDetailCB_Boat_Far(RpAtomic *atomic) { -- cgit v1.2.3