mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 22:12:59 +00:00 
			
		
		
		
	fixed distance computation in Nil
This commit is contained in:
		
							
								
								
									
										2
									
								
								cell.cpp
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								cell.cpp
									
									
									
									
									
								
							| @@ -1016,7 +1016,7 @@ EX int celldistance(cell *c1, cell *c2) { | ||||
|   if(cryst) return crystal::precise_distance(c1, c2); | ||||
|   #endif | ||||
|    | ||||
|   if(masterless || archimedean || quotient || solnih || (penrose && euclid) || experimental || sl2) { | ||||
|   if(masterless || archimedean || quotient || solnih || (penrose && euclid) || experimental || sl2 || nil) { | ||||
|      | ||||
|     if(saved_distances.count(make_pair(c1,c2))) | ||||
|       return saved_distances[make_pair(c1,c2)]; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue