mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r18467) -Fix (r17870): Missed positioning for cargo capacity of non-articulated road vehicles.
This commit is contained in:
parent
9ae2422956
commit
15fbf4af70
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue