mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-22 17:37:39 +00:00
fixed chosenDownId on irregular grids (use MODFIXER not S42)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user