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 | 84deeecc5b21584b7aee023bb820671683cd7ef1 (patch) | |
tree | 698f73feb9c82404ea46d6d0fd869f31fe08842d /src/aircraft_gui.cpp | |
parent | b123756c9f2e528c78531376c21112aed57d38a8 (diff) | |
download | openttd-84deeecc5b21584b7aee023bb820671683cd7ef1.tar.xz |
(svn r15480) -Feature(tte): Show the cargo subtype in the vehicle details window.
Diffstat (limited to 'src/aircraft_gui.cpp')
-rw-r--r-- | src/aircraft_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/aircraft_gui.cpp b/src/aircraft_gui.cpp index 7097ca6c9..d6f42c546 100644 --- a/src/aircraft_gui.cpp +++ b/src/aircraft_gui.cpp @@ -37,6 +37,7 @@ void DrawAircraftDetails(const Vehicle *v, int x, int y) 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); } |