From 316b8d4f7ceda0c853f572e289e819cf9acc9a2c Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 28 Dec 2021 11:35:59 +0100 Subject: [PATCH] rulegen:: also set sidecache for the reverse twalker --- rulegen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rulegen.cpp b/rulegen.cpp index 5553b191..b48d21e0 100644 --- a/rulegen.cpp +++ b/rulegen.cpp @@ -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; }