diff options
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r-- | src/misc_gui.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index e6d9ad0c0..477c187ba 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -159,6 +159,7 @@ public: td.station_class = STR_NULL; td.station_name = STR_NULL; td.airport_tile_name = STR_NULL; + td.rail_speed = 0; td.grf = NULL; @@ -252,6 +253,13 @@ public: line_nr++; } + /* Rail speed limit */ + if (td.rail_speed != 0) { + SetDParam(0, td.rail_speed); + GetString(this->landinfo_data[line_nr], STR_LANG_AREA_INFORMATION_RAIL_SPEED_LIMIT, lastof(this->landinfo_data[line_nr])); + line_nr++; + } + /* NewGRF name */ if (td.grf != NULL) { SetDParamStr(0, td.grf); |