mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 07:30:26 +00:00
fixed chosenDownId on irregular grids (use MODFIXER not S42)
This commit is contained in:
parent
fd7f258d7b
commit
7b4bdbea1c
@ -660,7 +660,7 @@ int chosenDownId(cell *c, int which, cellfunction* cf) {
|
||||
|
||||
if((*cf)(c->move(i)) == d) {
|
||||
again:
|
||||
int i2 = (i+which+S42)%c->type;
|
||||
int i2 = (i+which+MODFIXER)%c->type;
|
||||
createMov(c, i2);
|
||||
if((*cf)(c->move(i2)) == d) {
|
||||
i = i2; goto again;
|
||||
|
Loading…
Reference in New Issue
Block a user