mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-05 05:30:09 +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;
|
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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user