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:
parent
872ce9d389
commit
316b8d4f7c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user