1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-25 22:53:19 +00:00

3d:: fixed cellgfxdist in 3D

This commit is contained in:
Zeno Rogue 2019-05-11 15:16:08 +02:00
parent c90eeccbbe
commit 6fe6db3d48

View File

@ -391,7 +391,7 @@ double cellgfxdist(cell *c, int i) {
if(c->type == 8 && (i&1)) return crossf * sqrt(2);
return crossf;
}
if(NONSTDVAR || archimedean) return hdist0(tC0(calc_relative_matrix(c->move(i), c, i)));
if(NONSTDVAR || archimedean || WDIM == 3) return hdist0(tC0(calc_relative_matrix(c->move(i), c, i)));
return !BITRUNCATED ? tessf : (c->type == 6 && (i&1)) ? hexhexdist : crossf;
}