diff options
author | peter1138 <peter1138@openttd.org> | 2009-12-11 23:00:07 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2009-12-11 23:00:07 +0000 |
commit | 15fbf4af705d1d22035a112284f459553104408b (patch) | |
tree | 2692fb7ee57d66f1bf51b3bbde966986c2237fd6 /src | |
parent | 9ae24229561e3016c19dd980cd49ea525282bf90 (diff) | |
download | openttd-15fbf4af705d1d22035a112284f459553104408b.tar.xz |
(svn r18467) -Fix (r17870): Missed positioning for cargo capacity of non-articulated road vehicles.
Diffstat (limited to 'src')
-rw-r--r-- | src/roadveh_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roadveh_gui.cpp b/src/roadveh_gui.cpp index fdf24d121..7383cf77b 100644 --- a/src/roadveh_gui.cpp +++ b/src/roadveh_gui.cpp @@ -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()) { |