diff options
author | Darkvater <darkvater@openttd.org> | 2006-09-14 23:26:58 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-09-14 23:26:58 +0000 |
commit | dc93d63478d41e913bf86ca4ff84e37bf381c9f8 (patch) | |
tree | 986f5c07418dce4d799bc3ee9135d38693876a07 /settings.h | |
parent | 2d329463bf7b3d0146a64d19207721756837d924 (diff) | |
download | openttd-dc93d63478d41e913bf86ca4ff84e37bf381c9f8.tar.xz |
(svn r6450) -Feature: Make the 'patch' console command available for offline use and for
online use for player-based settings.
Diffstat (limited to 'settings.h')
-rw-r--r-- | settings.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings.h b/settings.h index d1f9f7198..1eb26e2a0 100644 --- a/settings.h +++ b/settings.h @@ -78,9 +78,9 @@ 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, int32 value); +bool 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); +bool SetPatchValue(uint index, const Patches *object, int32 value); #endif /* SETTINGS_H */ |