Dont make fastface if tile is not seamless

Fixes #3378
Closes #3751
This commit is contained in:
RealBadAngel 2016-02-20 06:53:56 +01:00 committed by est31
parent ecc8b70182
commit 354635f9fb
1 changed files with 3 additions and 2 deletions

View File

@ -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{