mirror of
https://github.com/minetest/minetestmapper.git
synced 2024-11-22 15:33:49 +01:00
Fix #2
This commit is contained in:
parent
4076903980
commit
fe534d9026
@ -504,7 +504,7 @@ inline void TileGenerator::renderMapBlock(const ustring &mapBlock, const BlockPo
|
|||||||
col = c;
|
col = c;
|
||||||
else
|
else
|
||||||
col = mixColors(col, c);
|
col = mixColors(col, c);
|
||||||
if(col.a == 0xFF) {
|
if(col.a == 0xFF || y == minY) {
|
||||||
m_image->tpixels[imageY][imageX] = color2int(col);
|
m_image->tpixels[imageY][imageX] = color2int(col);
|
||||||
m_blockPixelAttributes.attribute(15 - z, xBegin + x).thicken = th;
|
m_blockPixelAttributes.attribute(15 - z, xBegin + x).thicken = th;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user