Mercurial > hg > openttd
diff src/aircraft_gui.cpp @ 11133:ec305342a11e draft
(svn r15480) -Feature(tte): Show the cargo subtype in the vehicle details window.
author | michi_cc <michi_cc@openttd.org> |
---|---|
date | Sat, 14 Feb 2009 18:42:03 +0000 (2009-02-14) |
parents | a4e5b5d2837c |
children | 02313cc6114e |
line wrap: on
line diff
--- a/src/aircraft_gui.cpp +++ b/src/aircraft_gui.cpp @@ -37,6 +37,7 @@ SetDParam(1, u->cargo_cap); SetDParam(2, u->Next()->cargo_type); SetDParam(3, u->Next()->cargo_cap); + SetDParam(4, GetCargoSubtypeText(u)); DrawString(x, y + 10, (u->Next()->cargo_cap != 0) ? STR_A019_CAPACITY : STR_A01A_CAPACITY, TC_FROMSTRING); }