diff --git a/ClassicalSharp/Rendering/ChunkUpdater.cs b/ClassicalSharp/Rendering/ChunkUpdater.cs index 8d688d155..a8412aee3 100644 --- a/ClassicalSharp/Rendering/ChunkUpdater.cs +++ b/ClassicalSharp/Rendering/ChunkUpdater.cs @@ -41,7 +41,7 @@ namespace ClassicalSharp.Renderers { if( builder != null ) builder.Dispose(); if( game.SmoothLighting ) - builder = new SmoothLightingMeshBuilder(); + builder = new AdvLightingMeshBuilder(); else builder = new NormalMeshBuilder(); diff --git a/ClassicalSharp/TexturePack/LavaAnimation.cs b/ClassicalSharp/TexturePack/LavaAnimation.cs index dcabf602a..3149c6501 100644 --- a/ClassicalSharp/TexturePack/LavaAnimation.cs +++ b/ClassicalSharp/TexturePack/LavaAnimation.cs @@ -13,7 +13,7 @@ namespace ClassicalSharp { float[] soupHeat = new float[Size * Size]; JavaRandom rnd = null; - public unsafe void Tick( int* output ) { + public unsafe void Tick( int* ptr ) { if( rnd == null ) rnd = new JavaRandom( new Random().Next() );