mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 09:50:34 +00:00
field distance is known only in PURE and BITRUNCATED
This commit is contained in:
parent
f5eff4e225
commit
311ee10cf1
2
cell.cpp
2
cell.cpp
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user