summaryrefslogtreecommitdiff
path: root/settings.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2005-01-13 16:28:47 +0000
committerdarkvater <darkvater@openttd.org>2005-01-13 16:28:47 +0000
commit06cc62f40d84c91bba41510bbeab0ba8df7106b9 (patch)
tree3e1729e6f6d4e134ab87140f082b967a21b9cfd7 /settings.c
parent0074496ea45c30c387092b29c5a8d868daf62f57 (diff)
downloadopenttd-06cc62f40d84c91bba41510bbeab0ba8df7106b9.tar.xz
(svn r1496) -Fix: highscore no longer crashes in network games with a dedicated server. At the end of the game (can only be set by the server) the highscore is shown for the top5 companies of that game
-Fix: fixed some compiler warnings -Added PF_NETWORK_ONLY flag to settings. Such a setting can only be modified in a network game.
Diffstat (limited to 'settings.c')
-rw-r--r--settings.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings.c b/settings.c
index 91be6cbb5..6d95a37b1 100644
--- a/settings.c
+++ b/settings.c
@@ -886,6 +886,7 @@ const SettingDesc patch_settings[] = {
{"ai_disable_veh_aircraft",SDT_BOOL,(void*)false, &_patches.ai_disable_veh_aircraft,NULL},
{"ai_disable_veh_ship", SDT_BOOL, (void*)false, &_patches.ai_disable_veh_ship, NULL},
{"starting_date", SDT_UINT32, (void*)1950, &_patches.starting_date, NULL},
+ {"ending_date", SDT_UINT32, (void*)2051, &_patches.ending_date, NULL},
{"colored_news_date", SDT_UINT32, (void*)2000, &_patches.colored_news_date, NULL},