Fix collapsed lines in vehicle details window

This commit is contained in:
dP
2023-02-07 13:31:56 +04:00
parent 1af9bc8e19
commit 879fd3a9ee
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -68,6 +68,7 @@ void DrawShipDetails(const Vehicle *v, const Rect &r)
SetDParam(2, v->value);
if (_settings_client.gui.newgrf_developer_tools) SetDParam(3, v->index); // CM
DrawString(r.left, r.right, y, _settings_client.gui.newgrf_developer_tools ? STR_CM_VEHICLE_INFO_BUILT_VALUE_WITH_ID : STR_VEHICLE_INFO_BUILT_VALUE);
y += FONT_HEIGHT_NORMAL;
SetDParam(0, v->cargo_type);
SetDParam(1, v->cargo_cap);