mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r21956) -Cleanup: always draw the bridge pillars
This commit is contained in:
parent
313c1bc171
commit
71f4067d19
|
@ -85,7 +85,6 @@ struct GUISettings {
|
|||
Year coloured_news_year; ///< when does newspaper become coloured?
|
||||
bool timetable_in_ticks; ///< whether to show the timetable in ticks rather than days
|
||||
bool quick_goto; ///< Allow quick access to 'goto button' in vehicle orders window
|
||||
bool bridge_pillars; ///< show bridge pillars for high bridges
|
||||
bool auto_euro; ///< automatically switch to euro in 2002
|
||||
byte drag_signals_density; ///< many signals density
|
||||
Year semaphore_build_before; ///< build semaphore signals automatically before this year
|
||||
|
|
|
@ -602,7 +602,6 @@ const SettingDesc _settings[] = {
|
|||
SDTC_BOOL(gui.keep_all_autosave, S, 0, false, STR_NULL, NULL),
|
||||
SDTC_BOOL(gui.autosave_on_exit, S, 0, false, STR_NULL, NULL),
|
||||
SDTC_VAR(gui.max_num_autosaves, SLE_UINT8, S, 0, 16, 0, 255, 0, STR_NULL, NULL),
|
||||
SDTC_BOOL(gui.bridge_pillars, S, 0, true, STR_NULL, NULL),
|
||||
SDTC_BOOL(gui.auto_euro, S, 0, true, STR_NULL, NULL),
|
||||
SDTC_VAR(gui.news_message_timeout, SLE_UINT8, S, 0, 2, 1, 255, 0, STR_NULL, NULL),
|
||||
SDTC_BOOL(gui.show_track_reservation, S, 0, false, STR_CONFIG_SETTING_SHOW_TRACK_RESERVATION, RedrawScreen),
|
||||
|
|
|
@ -1336,7 +1336,7 @@ void DrawBridgeMiddle(const TileInfo *ti)
|
|||
|
||||
DrawGroundSpriteAt(image, pal, x - ti->x, y - ti->y, z - ti->z);
|
||||
}
|
||||
} else if (_settings_client.gui.bridge_pillars) {
|
||||
} else {
|
||||
/* draw pillars below for high bridges */
|
||||
DrawBridgePillars(psid, ti, axis, drawfarpillar, x, y, z);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue