1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-04 07:43:02 +00:00

improved Camelot, Temple; fixed Whirlpool

This commit is contained in:
Zeno Rogue
2017-10-30 10:29:15 +01:00
parent d2fc8b41ba
commit 055307712a
3 changed files with 21 additions and 8 deletions

View File

@@ -898,7 +898,7 @@ namespace whirlpool {
if(i == c->type) return NULL;
if(d>d2) next = -next;
for(int j=1; j<c->type; j++) {
cell *c2 = c->mov[(i+420+next*j) % c->type];
cell *c2 = c->mov[(i+MODFIXER+next*j) % c->type];
if(celldistAlt(c2) == d) return c2;
}
return NULL;