fixed distance computation in quotient spaces (necessary for rotspace)

This commit is contained in:
Zeno Rogue 2020-07-28 13:17:37 +02:00
parent 5795e5447d
commit 4fc6b8edb5
1 changed files with 1 additions and 1 deletions

View File

@ -473,7 +473,7 @@ EX int celldist(cell *c) {
return hybrid::celldistance(c, currentmap->gamestart());
if(nil && !quotient) return DISTANCE_UNKNOWN;
if(euc::in()) return celldistance(currentmap->gamestart(), c);
if(sphere || bt::in() || WDIM == 3 || cryst || sn::in() || kite::in()) return celldistance(currentmap->gamestart(), c);
if(sphere || bt::in() || WDIM == 3 || cryst || sn::in() || kite::in() || bounded) return celldistance(currentmap->gamestart(), c);
#if CAP_IRR
if(IRREGULAR) return irr::celldist(c, false);
#endif