Codechange: Skip non-water water region patches in neigbor search
(cherry picked from commit 8a1cea2ab6)
			
			
This commit is contained in:
		
				
					committed by
					
						
						Jonathan G Rennison
					
				
			
			
				
	
			
			
			
						parent
						
							a98a56669b
						
					
				
				
					commit
					69af0e8f26
				
			@@ -103,6 +103,7 @@ private:
 | 
			
		||||
public:
 | 
			
		||||
	void AddOrigin(const WaterRegionPatchDesc &water_region_patch)
 | 
			
		||||
	{
 | 
			
		||||
		if (water_region_patch.label == INVALID_WATER_REGION_PATCH) return;
 | 
			
		||||
		if (!HasOrigin(water_region_patch)) m_origin_keys.push_back(CYapfRegionPatchNodeKey{ water_region_patch });
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user