1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-10-31 19:36:16 +00:00

another fixup to last

This commit is contained in:
Zeno Rogue 2021-11-01 17:17:16 +01:00
parent 159ed86045
commit 045dc90378

View File

@ -1618,7 +1618,7 @@ void clear_tcell_data() {
in_fixing = false; fix_queue = std::queue<reaction_t>{}; in_fixing = false; fix_queue = std::queue<reaction_t>{};
} }
void cleanup() { EX void cleanup() {
clear_tcell_data(); clear_tcell_data();
analyzers.clear(); analyzers.clear();
code_to_id.clear(); code_to_id.clear();
@ -1627,7 +1627,7 @@ void cleanup() {
single_live_branch_close_to_root.clear(); single_live_branch_close_to_root.clear();
} }
void clear_all() { EX void clear_all() {
treestates.clear(); treestates.clear();
cleanup(); cleanup();
} }
@ -1900,7 +1900,7 @@ EX int get_state(cell *c) {
return c->master->fieldval; return c->master->fieldval;
} }
string rules_known_for = "unknown"; EX string rules_known_for = "unknown";
string rule_status; string rule_status;
EX bool known() { EX bool known() {