diff options
author | Darkvater <darkvater@openttd.org> | 2006-08-15 07:37:01 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-08-15 07:37:01 +0000 |
commit | 029105ea1cc21aad58c4163b414dc70dcd6c1819 (patch) | |
tree | 1467a28e1969e71421d080e091d5a09d204f07ce /settings.h | |
parent | 4ad8d1c7a268b09d5f1313d597567f49c4eac38e (diff) | |
download | openttd-029105ea1cc21aad58c4163b414dc70dcd6c1819.tar.xz |
(svn r5908) - Codechange (r5903): Move the retrieval of the new value of a patch to console_cmds.c, so there is no need for that function in settings.c
Diffstat (limited to 'settings.h')
-rw-r--r-- | settings.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings.h b/settings.h index f837ee835..904abca77 100644 --- a/settings.h +++ b/settings.h @@ -77,7 +77,7 @@ static inline void *ini_get_variable(const SaveLoad *sld, const void *object) /** The patch values that are used for new games and/or modified in config file */ extern Patches _patches_newgame; -void IConsoleSetPatchSetting(const char *name, const char *value); +void IConsoleSetPatchSetting(const char *name, int32 value); void IConsoleGetPatchSetting(const char *name); const SettingDesc *GetPatchFromName(const char *name, uint *i); void SetPatchValue(uint index, const Patches *object, int32 value); |