mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-10-31 07:25:22 +01:00 
			
		
		
		
	Hopefully fix 'dangling water'
If a block has (at least visible) liquids, the block below should also be flowed in.
This commit is contained in:
		
				
					committed by
					
						 Perttu Ahola
						Perttu Ahola
					
				
			
			
				
	
			
			
			
						parent
						
							a99450ab72
						
					
				
				
					commit
					b37fffc2c5
				
			| @@ -1698,7 +1698,8 @@ void Map::transformLiquids(core::map<v3s16, MapBlock*> & modified_blocks) | ||||
| 							max_node_level = LIQUID_LEVEL_MAX; | ||||
| 							if (nb_liquid_level + WATER_DROP_BOOST < LIQUID_LEVEL_MAX) | ||||
| 								max_node_level = nb_liquid_level + WATER_DROP_BOOST; | ||||
| 						} | ||||
| 						} else if (nb_liquid_level > max_node_level) | ||||
| 							max_node_level = nb_liquid_level; | ||||
| 						break; | ||||
| 					case NEIGHBOR_LOWER: | ||||
| 						break; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user