diff options
author | yexo <yexo@openttd.org> | 2010-01-28 23:17:28 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-01-28 23:17:28 +0000 |
commit | d75b9f1642f24dd3336437d818b41c2a6d295905 (patch) | |
tree | db80d07dbbae17ffbfbb6507256a33d4db4a2905 /src/settings_internal.h | |
parent | fa01b25f740d92ffa74de4bc630ca42cdc8046a0 (diff) | |
download | openttd-d75b9f1642f24dd3336437d818b41c2a6d295905.tar.xz |
(svn r18943) -Feature [FS#2885]: make it possible to change newgame settings from within a game via the console (use setting_newgame instead of setting)
Diffstat (limited to 'src/settings_internal.h')
-rw-r--r-- | src/settings_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings_internal.h b/src/settings_internal.h index 316c43342..009e50f96 100644 --- a/src/settings_internal.h +++ b/src/settings_internal.h @@ -85,7 +85,7 @@ struct SettingDesc { typedef SettingDesc SettingDescGlobVarList; const SettingDesc *GetSettingFromName(const char *name, uint *i); -bool SetSettingValue(uint index, int32 value); +bool SetSettingValue(uint index, int32 value, bool force_newgame = false); bool SetSettingValue(uint index, const char *value); void SetCompanySetting(uint index, int32 value); |