mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-12 07:16:01 +00:00
specialized exceptions for param errors
This commit is contained in:
@@ -1227,6 +1227,7 @@ EX namespace dialog {
|
||||
if(p) p->load_as_animation(formula);
|
||||
}
|
||||
catch(hr_parse_exception&) { }
|
||||
catch(param_exception&) { }
|
||||
};
|
||||
dialog::get_di().dialogflags |= dialogflags;
|
||||
});
|
||||
@@ -1298,6 +1299,7 @@ EX namespace dialog {
|
||||
}
|
||||
catch(const hr_parse_exception&) {
|
||||
}
|
||||
catch(param_exception&) { }
|
||||
}
|
||||
|
||||
EX void bound_low(ld val) {
|
||||
|
Reference in New Issue
Block a user