1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-13 17:06:52 +00:00

fixed crashes when e.g. entering 'ma' as a value

This commit is contained in:
Zeno Rogue 2024-02-22 17:29:58 +01:00
parent a91f74c86c
commit 2a7e2e96ca

View File

@ -169,6 +169,7 @@ template<class T> struct enum_setting : list_setting {
needs_confirm = true; needs_confirm = true;
return this; return this;
} }
virtual cld get_cld() override { return get_value(); }
}; };
/** transmatrix with equality, so we can construct val_setting<matrix_eq> */ /** transmatrix with equality, so we can construct val_setting<matrix_eq> */
@ -359,6 +360,7 @@ struct custom_setting : public setting {
} }
custom_load(s); custom_load(s);
} }
virtual cld get_cld() override { return custom_value(); }
}; };
struct local_parameter_set { struct local_parameter_set {