mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-17 18:54:48 +00:00
one more celldistance switch
This commit is contained in:
parent
fac3866d7e
commit
bc1cc7e2ca
2
cell.cpp
2
cell.cpp
@ -412,7 +412,7 @@ int celldist(cell *c) {
|
|||||||
if(masterless)
|
if(masterless)
|
||||||
return eudist(decodeId(c->master));
|
return eudist(decodeId(c->master));
|
||||||
if(euclid && (penrose || archimedean)) return celldistance(currentmap->gamestart(), c);
|
if(euclid && (penrose || archimedean)) return celldistance(currentmap->gamestart(), c);
|
||||||
if(sphere || binarytiling || WDIM == 3 || geometry == gCrystal || sol || penrose) return celldistance(c, currentmap->gamestart());
|
if(sphere || binarytiling || WDIM == 3 || geometry == gCrystal || sol || penrose) return celldistance(currentmap->gamestart(), c);
|
||||||
#if CAP_IRR
|
#if CAP_IRR
|
||||||
if(IRREGULAR) return irr::celldist(c, false);
|
if(IRREGULAR) return irr::celldist(c, false);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user