field distance is known only in PURE and BITRUNCATED

This commit is contained in:
Zeno Rogue 2020-10-06 21:08:06 +02:00
parent f5eff4e225
commit 311ee10cf1
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}