mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 08:07:10 +00:00
specialized exceptions for param errors
This commit is contained in:
1 parent
888a34dea6
commit
f445d02707
2 files changed
+14
-8
No files matched your search
@@ -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