1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-29 19:40:35 +00:00

rulegen:: also set sidecache for the reverse twalker

This commit is contained in:
Zeno Rogue 2021-12-28 11:35:59 +01:00
parent 872ce9d389
commit 316b8d4f7c

View File

@ -1170,7 +1170,7 @@ int get_side(twalker what) {
}
}
if(side) sidecache[what] = res;
if(side) sidecache[what] = res, sidecache[what + wstep] = -res;
return res;
}