Mercurial > hg > openttd
changeset 13935:28a3a7a5c7f9 draft
(svn r18467) -Fix (r17870): Missed positioning for cargo capacity of non-articulated road vehicles.
author | peter1138 <peter1138@openttd.org> |
---|---|
date | Fri, 11 Dec 2009 23:00:07 +0000 |
parents | 6c8c9b6e2b7b |
children | d316a293322c |
files | src/roadveh_gui.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/roadveh_gui.cpp +++ b/src/roadveh_gui.cpp @@ -103,7 +103,7 @@ 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()) {