mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-30 15:39:54 +00:00
fixed distance computation in Nil
This commit is contained in:
parent
5a4f936769
commit
cbd8c77636
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)];
|
||||
|
Loading…
Reference in New Issue
Block a user