Fix unknown nodes showing up as black

This commit is contained in:
ShadowNinja 2013-03-18 14:12:02 -04:00
parent 7d15dbf4ed
commit 6b511e5e79
1 changed files with 2 additions and 2 deletions

View File

@ -485,9 +485,9 @@ inline void TileGenerator::renderMapBlock(const unsigned_string &mapBlock, const
m_image->tpixels[imageY][imageX] = rgb2int(c.r, c.g, c.b);
m_readedPixels[z] |= (1 << x);
m_blockPixelAttributes.attribute(15 - z, xBegin + x).height = pos.y * 16 + y;
}
else {
} else {
m_unknownNodes.insert(name);
continue;
}
break;
}