diff options
author | michi_cc <michi_cc@openttd.org> | 2009-02-14 18:42:03 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2009-02-14 18:42:03 +0000 |
commit | 0dcf301d6d42211e3364ca86fc28b820c589cc77 (patch) | |
tree | 698f73feb9c82404ea46d6d0fd869f31fe08842d /src/ship_gui.cpp | |
parent | de9c91ecee6e6de72bbc1c620095807d6b49ec27 (diff) | |
download | openttd-0dcf301d6d42211e3364ca86fc28b820c589cc77.tar.xz |
(svn r15480) -Feature(tte): Show the cargo subtype in the vehicle details window.
Diffstat (limited to 'src/ship_gui.cpp')
-rw-r--r-- | src/ship_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ship_gui.cpp b/src/ship_gui.cpp index dd1ca03fd..e982e64f2 100644 --- a/src/ship_gui.cpp +++ b/src/ship_gui.cpp @@ -50,6 +50,7 @@ void DrawShipDetails(const Vehicle *v, int x, int y) SetDParam(0, v->cargo_type); SetDParam(1, v->cargo_cap); + SetDParam(2, GetCargoSubtypeText(v)); DrawString(x, y + 10, STR_9817_CAPACITY, TC_FROMSTRING); StringID str = STR_8812_EMPTY; |