mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	@@ -901,8 +901,15 @@ void ContentFeatures::updateTextures(ITextureSource *tsrc, IShaderSource *shdsrc
 | 
			
		||||
			solidness = 0;
 | 
			
		||||
			visual_solidness = 1;
 | 
			
		||||
		} else {
 | 
			
		||||
			drawtype = NDT_NORMAL;
 | 
			
		||||
			solidness = 2;
 | 
			
		||||
			if (waving >= 1) {
 | 
			
		||||
				// waving nodes must make faces so there are no gaps
 | 
			
		||||
				drawtype = NDT_ALLFACES;
 | 
			
		||||
				solidness = 0;
 | 
			
		||||
				visual_solidness = 1;
 | 
			
		||||
			} else {
 | 
			
		||||
				drawtype = NDT_NORMAL;
 | 
			
		||||
				solidness = 2;
 | 
			
		||||
			}
 | 
			
		||||
			for (TileDef &td : tdef)
 | 
			
		||||
				td.name += std::string("^[noalpha");
 | 
			
		||||
		}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user