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
1 changed files with 1 additions and 1 deletions

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