summaryrefslogtreecommitdiff
path: root/src/settings_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings_internal.h')
-rw-r--r--src/settings_internal.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/settings_internal.h b/src/settings_internal.h
index fc8e0a1e3..f92480a76 100644
--- a/src/settings_internal.h
+++ b/src/settings_internal.h
@@ -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;