Add a setting to show the introduction year for train wagons
This commit is contained in:
@@ -1120,6 +1120,10 @@ int DrawVehiclePurchaseInfo(int left, int right, int y, EngineID engine_number,
|
||||
SetDParam(0, ToPercent16(e->reliability));
|
||||
DrawString(left, right, y, STR_PURCHASE_INFO_RELIABILITY);
|
||||
y += FONT_HEIGHT_NORMAL;
|
||||
} else if (_settings_client.gui.show_wagon_intro_year) {
|
||||
SetDParam(0, ymd.year);
|
||||
DrawString(left, right, y, STR_PURCHASE_INFO_DESIGNED);
|
||||
y += FONT_HEIGHT_NORMAL;
|
||||
}
|
||||
|
||||
if (refittable) y = ShowRefitOptionsList(left, right, y, engine_number);
|
||||
|
Reference in New Issue
Block a user