From d0641ecbe3dfe2b808f99978e10b4fabd16bbbf7 Mon Sep 17 00:00:00 2001 From: Joshua Barretto Date: Sat, 18 Apr 2020 01:12:20 +0100 Subject: [PATCH] Unblocked tunnels --- world/src/site/dungeon/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/world/src/site/dungeon/mod.rs b/world/src/site/dungeon/mod.rs index 2cf98f3857..97718b512a 100644 --- a/world/src/site/dungeon/mod.rs +++ b/world/src/site/dungeon/mod.rs @@ -433,7 +433,7 @@ impl Floor { move |z| match self.tiles.get(tile_pos) { Some(Tile::Solid) => BlockMask::nothing(), Some(Tile::Tunnel) => { - if dist_to_wall < wall_thickness && (z as f32) < 8.0 - 8.0 * tunnel_dist.powf(4.0) { + if dist_to_wall >= wall_thickness && (z as f32) < 8.0 - 8.0 * tunnel_dist.powf(4.0) { empty } else { BlockMask::nothing()