1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-02-21 16:19:43 +00:00

changed the 'quotient==2' tests to 'geometry == gFieldQuotient'

This commit is contained in:
Zeno Rogue
2018-06-25 23:14:46 +02:00
parent 495d87ff91
commit 030377583c
5 changed files with 7 additions and 6 deletions

View File

@@ -1469,7 +1469,7 @@ int celldistance(cell *c1, cell *c2) {
return torusmap()->dists[torusconfig::vec_to_id(decodeId(c1->master)-decodeId(c2->master))];
}
if(quotient == 2 && !gp::on)
if(geometry == gFieldQuotient && !gp::on)
return currfp.getdist(fieldpattern::fieldval(c1), fieldpattern::fieldval(c2));
if(sphere || quotient || torus) {