1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-05-04 22:31:23 +00:00

fixed Euclidean celldistalt

This commit is contained in:
Zeno Rogue
2020-05-29 01:52:47 +02:00
parent 98b1e659a5
commit 4f1742f21f
2 changed files with 8 additions and 2 deletions

View File

@@ -511,7 +511,7 @@ EX int celldistAlt(cell *c) {
return celldist(c) - 3;
}
#if MAXMDIM >= 4
if(euc::in(3)) return euc::dist_alt(c);
if(euc::in()) return euc::dist_alt(c);
if(hyperbolic && WDIM == 3 && !reg3::in_rule())
return reg3::altdist(c->master);
#endif