From d75b9f1642f24dd3336437d818b41c2a6d295905 Mon Sep 17 00:00:00 2001 From: yexo Date: Thu, 28 Jan 2010 23:17:28 +0000 Subject: (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) --- src/settings_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/settings_internal.h') 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); -- cgit v1.2.3-54-g00ecf