1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 15:40:26 +00:00

fixed chosenDownId on irregular grids (use MODFIXER not S42)

This commit is contained in:
Zeno Rogue 2018-09-23 13:55:09 +02:00
parent fd7f258d7b
commit 7b4bdbea1c

View File

@ -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;