mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-01 06:23:00 +00:00
rulegen:: tests:: do not crash on failure
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user