mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Unblocked tunnels
This commit is contained in:
parent
40ccd4eabd
commit
a87041c8b0
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user