diff options
author | Lizzy Fleckenstein <eliasfleckenstein@web.de> | 2023-05-16 15:20:39 +0200 |
---|---|---|
committer | Lizzy Fleckenstein <eliasfleckenstein@web.de> | 2023-05-16 15:20:39 +0200 |
commit | ef8c75b9dc47142527fc1741d75cf34c66c3ac9d (patch) | |
tree | 836e541b516717f9c00d06e659d4cc7b238193b2 /src/gfx/map | |
parent | 0fc89aa3ec523d3d06546220bae5393232274e13 (diff) | |
download | mt_client-ef8c75b9dc47142527fc1741d75cf34c66c3ac9d.tar.xz |
Split state.rs and add debug menu
Diffstat (limited to 'src/gfx/map')
-rw-r--r-- | src/gfx/map/mesh.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfx/map/mesh.rs b/src/gfx/map/mesh.rs index 139b6c7..3d56ad8 100644 --- a/src/gfx/map/mesh.rs +++ b/src/gfx/map/mesh.rs @@ -93,7 +93,7 @@ pub(super) fn create_mesh( if let Some(ndef) = &mkinfo.nodes[ncontent as usize] { if match draw_type { DrawType::Cube => ndef.draw_type == DrawType::Cube, - DrawType::Liquid => ncontent == content, + DrawType::Liquid => ndef.draw_type == DrawType::Cube || ncontent == content, _ => false, } { continue; |