From: RealBadAngel Date: Sat, 20 Feb 2016 05:53:56 +0000 (+0100) Subject: Dont make fastface if tile is not seamless X-Git-Tag: 0.4.14~247 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=354635f9fbe67cebbcd147db94b48983aa3799eb;p=oweals%2Fminetest.git Dont make fastface if tile is not seamless Fixes #3378 Closes #3751 --- diff --git a/src/mapblock_mesh.cpp b/src/mapblock_mesh.cpp index 42e84b75e..e1ec50ab0 100644 --- a/src/mapblock_mesh.cpp +++ b/src/mapblock_mesh.cpp @@ -885,8 +885,9 @@ static void updateFastFaceRow( && next_lights[3] == lights[3] && next_tile == tile && tile.rotation == 0 - && next_light_source == light_source) - { + && next_light_source == light_source + && (tile.material_flags & MATERIAL_FLAG_TILEABLE_HORIZONTAL) + && (tile.material_flags & MATERIAL_FLAG_TILEABLE_VERTICAL)) { next_is_different = false; } else{