From 354635f9fbe67cebbcd147db94b48983aa3799eb Mon Sep 17 00:00:00 2001 From: RealBadAngel Date: Sat, 20 Feb 2016 06:53:56 +0100 Subject: [PATCH] Dont make fastface if tile is not seamless Fixes #3378 Closes #3751 --- src/mapblock_mesh.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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{ -- 2.25.1