some hardface fiddling

This commit is contained in:
darkrose 2016-01-07 20:14:32 +10:00
parent cf5a9c4ab6
commit bcb31e4316
1 changed files with 1 additions and 1 deletions

View File

@ -433,7 +433,7 @@ static bool meshgen_hardface(MeshMakeData *data, v3s16 p, MapNode &n, v3s16 pos)
}
if (ff->draw_type == CDT_SLABLIKE && f->draw_type == CDT_SLABLIKE) {
bool urot = (nn.getContent() >= CONTENT_SLAB_STAIR_UD_MIN && nn.getContent() <= CONTENT_SLAB_STAIR_UD_MAX);
if ((urot && pos.Y == -1) || (!urot && pos.Y == 1))
if ((urot && pos.Y == 1) || (!urot && pos.Y == -1))
return false;
if (!pos.Y && n.getContent() == nn.getContent())
return false;