Fix drawing of transparent nodes without --drawalpha (fixes #41)

This commit is contained in:
sfan5
2017-01-05 23:37:21 +01:00
parent 9503f76805
commit d490cf0a31
2 changed files with 3 additions and 1 deletions

View File

@ -526,7 +526,7 @@ void TileGenerator::renderMapBlock(const ustring &mapBlock, const BlockPos &pos,
continue;
}
} else {
setZoomed(imageX, imageY, c);
setZoomed(imageX, imageY, c.noAlpha());
m_readPixels[z] |= (1 << x);
}
if(!(m_readInfo[z] & (1 << x))) {