From 1ea0837c543b50f98dc6eb7842d1c19a88d005c3 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Sat, 4 Nov 2017 15:13:20 +1100 Subject: [PATCH] Fix fog density being 2.0f instead of 1.8f (Thanks gDEBugger) --- ClassicalSharp/Blocks/DefaultSet.cs | 2 +- src/Client/DefaultSet.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ClassicalSharp/Blocks/DefaultSet.cs b/ClassicalSharp/Blocks/DefaultSet.cs index 15e6e633d..80c2656bf 100644 --- a/ClassicalSharp/Blocks/DefaultSet.cs +++ b/ClassicalSharp/Blocks/DefaultSet.cs @@ -29,7 +29,7 @@ namespace ClassicalSharp.Blocks { if (b == Block.Water || b == Block.StillWater) return 0.1f; if (b == Block.Lava || b == Block.StillLava) - return 2f; + return 1.8f; return 0; } diff --git a/src/Client/DefaultSet.c b/src/Client/DefaultSet.c index f08721c19..5bdd1e2d8 100644 --- a/src/Client/DefaultSet.c +++ b/src/Client/DefaultSet.c @@ -18,7 +18,7 @@ Real32 DefaultSet_FogDensity(BlockID b) { if (b == BlockID_Water || b == BlockID_StillWater) return 0.1f; if (b == BlockID_Lava || b == BlockID_StillLava) - return 2.0f; + return 1.8f; return 0.0f; }