summaryrefslogtreecommitdiffstats
path: root/src/render/VisibilityPlugins.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/VisibilityPlugins.cpp')
-rw-r--r--src/render/VisibilityPlugins.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/render/VisibilityPlugins.cpp b/src/render/VisibilityPlugins.cpp
index ca3a0195..2107813b 100644
--- a/src/render/VisibilityPlugins.cpp
+++ b/src/render/VisibilityPlugins.cpp
@@ -103,14 +103,14 @@ CVisibilityPlugins::SetRenderWareCamera(RwCamera *camera)
else
ms_cullCompsDist = sq(TheCamera.LODDistMultiplier * 20.0f);
- ms_vehicleLod0Dist = sq(70.0 * TheCamera.GenerationDistMultiplier);
- ms_vehicleLod1Dist = sq(90.0 * TheCamera.GenerationDistMultiplier);
- ms_vehicleFadeDist = sq(100.0 * TheCamera.GenerationDistMultiplier);
- ms_bigVehicleLod0Dist = sq(60.0 * TheCamera.GenerationDistMultiplier);
- ms_bigVehicleLod1Dist = sq(150.0 * TheCamera.GenerationDistMultiplier);
- ms_pedLod0Dist = sq(25.0 * TheCamera.LODDistMultiplier);
- ms_pedLod1Dist = sq(60.0 * TheCamera.LODDistMultiplier);
- ms_pedFadeDist = sq(70.0 * TheCamera.LODDistMultiplier);
+ ms_vehicleLod0Dist = sq(70.0f * TheCamera.GenerationDistMultiplier);
+ ms_vehicleLod1Dist = sq(90.0f * TheCamera.GenerationDistMultiplier);
+ ms_vehicleFadeDist = sq(100.0f * TheCamera.GenerationDistMultiplier);
+ ms_bigVehicleLod0Dist = sq(60.0f * TheCamera.GenerationDistMultiplier);
+ ms_bigVehicleLod1Dist = sq(150.0f * TheCamera.GenerationDistMultiplier);
+ ms_pedLod0Dist = sq(25.0f * TheCamera.LODDistMultiplier);
+ ms_pedLod1Dist = sq(60.0f * TheCamera.LODDistMultiplier);
+ ms_pedFadeDist = sq(70.0f * TheCamera.LODDistMultiplier);
}
RpMaterial*