summaryrefslogtreecommitdiff
path: root/src/gfx/map
diff options
context:
space:
mode:
authorLizzy Fleckenstein <eliasfleckenstein@web.de>2023-05-16 15:20:39 +0200
committerLizzy Fleckenstein <eliasfleckenstein@web.de>2023-05-16 15:20:39 +0200
commitef8c75b9dc47142527fc1741d75cf34c66c3ac9d (patch)
tree836e541b516717f9c00d06e659d4cc7b238193b2 /src/gfx/map
parent0fc89aa3ec523d3d06546220bae5393232274e13 (diff)
downloadmt_client-ef8c75b9dc47142527fc1741d75cf34c66c3ac9d.tar.xz
Split state.rs and add debug menu
Diffstat (limited to 'src/gfx/map')
-rw-r--r--src/gfx/map/mesh.rs2
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;