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