summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-10-29 22:11:16 +0000
committerrubidium <rubidium@openttd.org>2009-10-29 22:11:16 +0000
commit87ea1f1dcd16079c064474e298a4931834e5a31e (patch)
tree029099dba55a73cb7b3daa6fe406d66c9905b56a
parent1907cade7723e3aa752ae5a09b1e69aff5bd93a6 (diff)
downloadopenttd-87ea1f1dcd16079c064474e298a4931834e5a31e.tar.xz
(svn r17902) -Fix: make the plane speed setting unchangeable in network games because it can be read by NewGRFs on game load and thus if it changes cause desyncs
-rw-r--r--src/table/settings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/settings.h b/src/table/settings.h
index 38333ede3..cac6ce7ea 100644
--- a/src/table/settings.h
+++ b/src/table/settings.h
@@ -397,7 +397,7 @@ const SettingDesc _settings[] = {
SDT_CONDBOOL(GameSettings, vehicle.disable_elrails, 38, SL_MAX_VERSION, 0,NN, false, STR_CONFIG_SETTING_DISABLE_ELRAILS, SettingsDisableElrail),
SDT_CONDVAR(GameSettings, vehicle.freight_trains, SLE_UINT8, 39, SL_MAX_VERSION, 0,NN, 1, 1, 255, 1, STR_CONFIG_SETTING_FREIGHT_TRAINS, NULL),
SDT_CONDBOOL(GameSettings, order.timetabling, 67, SL_MAX_VERSION, 0, 0, true, STR_CONFIG_SETTING_TIMETABLE_ALLOW, NULL),
- SDT_CONDVAR(GameSettings, vehicle.plane_speed, SLE_UINT8, 90, SL_MAX_VERSION, 0, 0, 4, 1, 4, 0, STR_CONFIG_SETTING_PLANE_SPEED, NULL),
+ SDT_CONDVAR(GameSettings, vehicle.plane_speed, SLE_UINT8, 90, SL_MAX_VERSION, 0,NN, 4, 1, 4, 0, STR_CONFIG_SETTING_PLANE_SPEED, NULL),
SDT_CONDBOOL(GameSettings, vehicle.dynamic_engines, 95, SL_MAX_VERSION, 0,NN, false, STR_CONFIG_SETTING_DYNAMIC_ENGINES, ChangeDynamicEngines),
SDT_BOOL(GameSettings, station.join_stations, 0, 0, true, STR_CONFIG_SETTING_JOINSTATIONS, NULL),