diff options
author | frosch <frosch@openttd.org> | 2012-12-05 19:35:09 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-12-05 19:35:09 +0000 |
commit | 22dc45738d2a3a9634693e43dbbf95d948142b83 (patch) | |
tree | ce1da470d3cf9bca55ef581cb4bb8b47d638317c /src/settings_internal.h | |
parent | a499435351fcb7b25e1e49e1366ebeac91636c35 (diff) | |
download | openttd-22dc45738d2a3a9634693e43dbbf95d948142b83.tar.xz |
(svn r24787) -Fix: Unify checks for editability of settings.
Diffstat (limited to 'src/settings_internal.h')
-rw-r--r-- | src/settings_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings_internal.h b/src/settings_internal.h index baaef165e..9bda96fef 100644 --- a/src/settings_internal.h +++ b/src/settings_internal.h @@ -101,6 +101,8 @@ struct SettingDescBase { struct SettingDesc { SettingDescBase desc; ///< Settings structure (going to configuration file) SaveLoad save; ///< Internal structure (going to savegame, parts to config) + + bool IsEditable(bool do_command = false) const; }; /* NOTE: The only difference between SettingDesc and SettingDescGlob is |