summaryrefslogtreecommitdiff
path: root/src/content_mapblock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/content_mapblock.cpp')
-rw-r--r--src/content_mapblock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content_mapblock.cpp b/src/content_mapblock.cpp
index 0bd2d2263..8149d9f34 100644
--- a/src/content_mapblock.cpp
+++ b/src/content_mapblock.cpp
@@ -237,8 +237,8 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
bool top_is_same_liquid = false;
MapNode ntop = data->m_vmanip.getNodeNoEx(blockpos_nodes + v3s16(x,y+1,z));
- content_t c_flowing = nodedef->get(n).liquid_alternative_flowing;
- content_t c_source = nodedef->get(n).liquid_alternative_source;
+ content_t c_flowing = nodedef->getId(nodedef->get(n).liquid_alternative_flowing);
+ content_t c_source = nodedef->getId(nodedef->get(n).liquid_alternative_source);
if(ntop.getContent() == c_flowing || ntop.getContent() == c_source)
top_is_same_liquid = true;