1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

rulegen:: branches starting at other roots were not examined

This commit is contained in:
Zeno Rogue 2021-08-04 18:35:37 +02:00
parent b60618d28a
commit 6935aa1cf7

View File

@ -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<isize(r); a++)
if(r[a] == DIR_UNKNOWN) r[a] = DIR_RIGHT;
}