mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-27 01:14:52 +00:00
fixed crashes when e.g. entering 'ma' as a value
This commit is contained in:
parent
a91f74c86c
commit
2a7e2e96ca
@ -169,6 +169,7 @@ template<class T> struct enum_setting : list_setting {
|
||||
needs_confirm = true;
|
||||
return this;
|
||||
}
|
||||
virtual cld get_cld() override { return get_value(); }
|
||||
};
|
||||
|
||||
/** transmatrix with equality, so we can construct val_setting<matrix_eq> */
|
||||
@ -359,6 +360,7 @@ struct custom_setting : public setting {
|
||||
}
|
||||
custom_load(s);
|
||||
}
|
||||
virtual cld get_cld() override { return custom_value(); }
|
||||
};
|
||||
|
||||
struct local_parameter_set {
|
||||
|
Loading…
Reference in New Issue
Block a user