mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-11-04 07:43:02 +00:00 
			
		
		
		
	added const
This commit is contained in:
		@@ -157,7 +157,7 @@ bool step(int delta) {
 | 
				
			|||||||
    
 | 
					    
 | 
				
			||||||
    case 2: {
 | 
					    case 2: {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      sort(cells.begin(), cells.end(), [] (cellinfo &s1, cellinfo &s2) { return hdist0(s1.p) < hdist0(s2.p); });
 | 
					      sort(cells.begin(), cells.end(), [] (const cellinfo &s1, const cellinfo &s2) { return hdist0(s1.p) < hdist0(s2.p); });
 | 
				
			||||||
      make_cells_of_heptagon();
 | 
					      make_cells_of_heptagon();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      edgelens.clear();
 | 
					      edgelens.clear();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user