mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-28 19:44:30 +00:00
field distance is known only in PURE and BITRUNCATED
This commit is contained in:
1 parent
f5eff4e225
commit
311ee10cf1
1 file changed
+1
-1
@@ -1108,7 +1108,7 @@ EX int celldistance(cell *c1, cell *c2) {
|
||||
if(hybri) return hybrid::celldistance(c1, c2);
|
||||
|
||||
#if CAP_FIELD
|
||||
if(geometry == gFieldQuotient) {
|
||||
if(geometry == gFieldQuotient && (PURE || BITRUNCATED)) {
|
||||
int d = fieldpattern::field_celldistance(c1, c2);
|
||||
if(d != DISTANCE_UNKNOWN) return d;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user