Codechange: let SettingDesc extend SettingDescBase

This commit is contained in:
rubidium42
2021-05-23 09:51:33 +02:00
committed by rubidium42
parent ac99a38175
commit 425d50372f
5 changed files with 62 additions and 63 deletions

View File

@@ -100,8 +100,7 @@ struct SettingDescBase {
bool startup; ///< setting has to be loaded directly at startup?
};
struct SettingDesc {
SettingDescBase desc; ///< Settings structure (going to configuration file)
struct SettingDesc : SettingDescBase {
SaveLoad save; ///< Internal structure (going to savegame, parts to config)
bool IsEditable(bool do_command = false) const;