mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	* fix for broken water
This commit is contained in:
		
				
					committed by
					
						
						Nils Dagsson Moskopp
					
				
			
			
				
	
			
			
			
						parent
						
							f143e269f4
						
					
				
				
					commit
					0b37f98e16
				
			@@ -1086,7 +1086,7 @@ void Map::addNodeAndUpdate(v3s16 p, MapNode n,
 | 
			
		||||
		v3s16 p2 = p + dirs[i];
 | 
			
		||||
 | 
			
		||||
		MapNode n2 = getNode(p2);
 | 
			
		||||
		if(content_liquid(n2.getContent()))
 | 
			
		||||
		if(content_liquid(n2.getContent()) || n2.getContent() == CONTENT_AIR)
 | 
			
		||||
		{
 | 
			
		||||
			m_transforming_liquid.push_back(p2);
 | 
			
		||||
		}
 | 
			
		||||
@@ -1260,7 +1260,7 @@ void Map::removeNodeAndUpdate(v3s16 p,
 | 
			
		||||
		v3s16 p2 = p + dirs[i];
 | 
			
		||||
 | 
			
		||||
		MapNode n2 = getNode(p2);
 | 
			
		||||
		if(content_liquid(n2.getContent()))
 | 
			
		||||
		if(content_liquid(n2.getContent()) || n2.getContent() == CONTENT_AIR)
 | 
			
		||||
		{
 | 
			
		||||
			m_transforming_liquid.push_back(p2);
 | 
			
		||||
		}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user