1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 17:40:36 +00:00

default celldistance in syntetic and binarytiling

This commit is contained in:
Zeno Rogue 2018-08-17 21:38:07 +02:00
parent fe1a5c5a03
commit 7064dace81

View File

@ -1520,7 +1520,7 @@ int celldistance(cell *c1, cell *c2) {
return 64; return 64;
} }
if(gp::on || stdeuclid || irr::on) { if(gp::on || stdeuclid || irr::on || syntetic || binarytiling) {
if(saved_distances.count(make_pair(c1,c2))) if(saved_distances.count(make_pair(c1,c2)))
return saved_distances[make_pair(c1,c2)]; return saved_distances[make_pair(c1,c2)];