mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-30 03:50:34 +00:00
rulegen:: tests:: do not crash on failure
This commit is contained in:
parent
67dcda0f25
commit
c160a506e6
@ -801,6 +801,7 @@ void test_current(string tesname) {
|
|||||||
if(flags & w_known_structure) {
|
if(flags & w_known_structure) {
|
||||||
dynamicval<flagtype> f(rulegen::flags, sub_rulegen_flags);
|
dynamicval<flagtype> f(rulegen::flags, sub_rulegen_flags);
|
||||||
prepare_rules();
|
prepare_rules();
|
||||||
|
if(!known()) return;
|
||||||
alt_treestates = treestates;
|
alt_treestates = treestates;
|
||||||
pointer_indices.clear();
|
pointer_indices.clear();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user