diff options
| author | Perttu Ahola <celeron55@gmail.com> | 2011-11-25 17:00:50 +0200 |
|---|---|---|
| committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:51 +0200 |
| commit | e5650bb54917ead2dccac9b46dfa1a00cd737694 (patch) | |
| tree | c1cfda62fa6df17069f368f3b07fad11eb3d3a04 /src/content_mapblock.cpp | |
| parent | 18bb0ea1ead82406bcfb89ea14908a4d0063209e (diff) | |
| download | minetest-e5650bb54917ead2dccac9b46dfa1a00cd737694.tar.xz | |
Make liquid_alternative_* to be strings
Diffstat (limited to 'src/content_mapblock.cpp')
| -rw-r--r-- | src/content_mapblock.cpp | 4 |
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; |
