1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-04 19:47:54 +00:00

two glitches fixed in Halloween

This commit is contained in:
Zeno Rogue
2017-10-15 19:55:56 +02:00
parent 9475419f1e
commit a45b32d2c8
2 changed files with 4 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ double randd() { return (rand() % 1000000) / 1000000. + .0000005; }
transmatrix cellrelmatrix(cell *c, int i) {
double d =
purehepta ? tessf : c->type == 6 ? hexhexdist : crossf;
purehepta ? tessf : (c->type == 6 && (i&1)) ? hexhexdist : crossf;
return ddspin(c, i) * xpush(d) * iddspin(c->mov[i], c->spin(i), euclid ? 0 : S42);
}