From 6935aa1cf7d4e6bde9e758f7686c77a0885d1478 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 4 Aug 2021 18:35:37 +0200 Subject: [PATCH] rulegen:: branches starting at other roots were not examined --- rulegen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rulegen.cpp b/rulegen.cpp index eb3478c0..1e8fffef 100644 --- a/rulegen.cpp +++ b/rulegen.cpp @@ -1314,7 +1314,7 @@ void rules_iteration() { if(r[a] == DIR_UNKNOWN) r[a] = DIR_LEFT; last_live_branch = i; } - if(id == 0) examine_branch(id, last_live_branch, first_live_branch); + if(treestates[id].is_root) examine_branch(id, last_live_branch, first_live_branch); for(int a=last_live_branch; a