1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-29 19:40:35 +00:00

rulegen:: clear branch checks on clean_data

This commit is contained in:
Zeno Rogue 2021-12-28 11:36:44 +01:00
parent 316b8d4f7c
commit 410d5c3015

View File

@ -1694,8 +1694,12 @@ EX void clean_analyzers() {
next_analyzer_id = 0;
}
using branch_check = tuple<int, int, int>;
set<branch_check> checks_to_skip;
EX void clean_data() {
clean_analyzers();
checks_to_skip.clear();
important = t_origin;
}
@ -1727,9 +1731,6 @@ void clear_treestates() {
if(a->id == MYSTERY) a->dir = MYSTERY;
}
using branch_check = tuple<int, int, int>;
set<branch_check> checks_to_skip;
EX void rules_iteration() {
try_count++;
debuglist = {};