@ -1522,6 +1522,8 @@ command_result digtype (color_ostream &out, vector <string> & parameters)
tt = mCache->tiletypeAt(current);
if (!DFHack::isWallTerrain(tt))
continue;
if (tileMaterial(tt) != df::enums::tiletype_material::MINERAL)
//designate it for digging
df::tile_designation des = mCache->designationAt(current);
@ -1075,8 +1075,7 @@ private:
if (bl->designation[x][y].bits.hidden)
{
df::coord p = bl->map_pos;
df::coord c(p.x, p.y, p.z - 1);
if (Maps::getTileDesignation(c)->bits.hidden)
if (! Maps::isTileVisible(p.x, p.y, p.z-1))
}