1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-31 02:19:09 +00:00

(svn r18467) -Fix (r17870): Missed positioning for cargo capacity of non-articulated road vehicles.

This commit is contained in:
2009-12-11 23:00:07 +00:00
parent 9ae2422956
commit 15fbf4af70

View File

@@ -103,7 +103,7 @@ void DrawRoadVehDetails(const Vehicle *v, int left, int right, int y)
SetDParam(0, v->cargo_type);
SetDParam(1, v->cargo_cap);
SetDParam(4, GetCargoSubtypeText(v));
DrawString(left, right, y + 10 + y_offset, STR_VEHICLE_INFO_CAPACITY);
DrawString(left, right, y + FONT_HEIGHT_NORMAL + y_offset, STR_VEHICLE_INFO_CAPACITY);
str = STR_VEHICLE_DETAILS_CARGO_EMPTY;
if (!v->cargo.Empty()) {