celldist in sol uses celldistance

This commit is contained in:
Zeno Rogue 2019-07-25 12:15:20 +02:00
parent 816320da94
commit 45ba083185
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ int celldist(cell *c) {
return torusconfig::cyldist(decodeId(c->master), 0);
if(masterless)
return eudist(decodeId(c->master));
if(sphere || binarytiling || WDIM == 3 || geometry == gCrystal) return celldistance(c, currentmap->gamestart());
if(sphere || binarytiling || WDIM == 3 || geometry == gCrystal || sol) return celldistance(c, currentmap->gamestart());
#if CAP_IRR
if(IRREGULAR) return irr::celldist(c, false);
#endif