diff --git a/common/net/src/msg/compression.rs b/common/net/src/msg/compression.rs index b4f2078ef3..da92e3805c 100644 --- a/common/net/src/msg/compression.rs +++ b/common/net/src/msg/compression.rs @@ -557,7 +557,7 @@ impl VoxelImageDecoding for TriPngEncoding Rgb { r: 0, g: 0, b: 0 }, + Air | Water | Lava => Rgb { r: 0, g: 0, b: 0 }, Rock => Rgb { r: 93, g: 110, diff --git a/world/src/canvas.rs b/world/src/canvas.rs index b264729656..063a9fa6eb 100644 --- a/world/src/canvas.rs +++ b/world/src/canvas.rs @@ -110,9 +110,11 @@ impl<'a> CanvasInfo<'a> { cave: Default::default(), cliff_height: 0.0, contains_waypoint: false, + spot: None, }; f(&CanvasInfo { - wpos: Vec2::broadcast(0), + chunk_pos: Vec2::zero(), + wpos: Vec2::zero(), column_grid: &zcache_grid, column_grid_border: 0, chunks: &sim,