1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-18 15:00:26 +00:00

penrose3 fixup

This commit is contained in:
Zeno Rogue 2019-08-02 18:55:11 +02:00
parent bc1cc7e2ca
commit 9f664568ab

View File

@ -973,7 +973,7 @@ int celldistance(cell *c1, cell *c2) {
if(geometry == gCrystal) return crystal::precise_distance(c1, c2);
#endif
if(masterless || archimedean || quotient || sol || penrose) {
if(masterless || archimedean || quotient || sol || (penrose && euclid)) {
if(saved_distances.count(make_pair(c1,c2)))
return saved_distances[make_pair(c1,c2)];