diff options
author | rubidium <rubidium@openttd.org> | 2006-08-15 14:52:17 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2006-08-15 14:52:17 +0000 |
commit | 8aa76f306db00b81f14b53a736b6e30099258841 (patch) | |
tree | 4d695e9efdc4542d90feba482d6d00bd948be0d3 /console_cmds.c | |
parent | d447f025e9c44a347e9134a5ecda92fbbe14bb75 (diff) | |
download | openttd-8aa76f306db00b81f14b53a736b6e30099258841.tar.xz |
(svn r5915) -Cleanup: some variables were named *_date while they were only holding years; rename these variables to match this.
Diffstat (limited to 'console_cmds.c')
-rw-r--r-- | console_cmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/console_cmds.c b/console_cmds.c index ed8ba8d0a..ff3504d8b 100644 --- a/console_cmds.c +++ b/console_cmds.c @@ -1541,8 +1541,8 @@ void IConsoleStdLibRegister(void) IConsoleVarHookAdd("autoclean_protected", ICONSOLE_HOOK_ACCESS, ConHookServerOnly); IConsoleVarRegister("autoclean_unprotected", &_network_autoclean_unprotected, ICONSOLE_VAR_BYTE, "Automatically shut down inactive companies after the given amount of months"); IConsoleVarHookAdd("autoclean_unprotected", ICONSOLE_HOOK_ACCESS, ConHookServerOnly); - IConsoleVarRegister("restart_game_date", &_network_restart_game_date, ICONSOLE_VAR_UINT16, "Auto-restart the server when Jan 1st of the set year is reached. Use '0' to disable this"); - IConsoleVarHookAdd("restart_game_date", ICONSOLE_HOOK_ACCESS, ConHookServerOnly); + IConsoleVarRegister("restart_game_year", &_network_restart_game_year, ICONSOLE_VAR_UINT16, "Auto-restart the server when Jan 1st of the set year is reached. Use '0' to disable this"); + IConsoleVarHookAdd("restart_game_year", ICONSOLE_HOOK_ACCESS, ConHookServerOnly); #endif /* ENABLE_NETWORK */ |