summaryrefslogtreecommitdiff
path: root/src/ship_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ship_gui.cpp')
-rw-r--r--src/ship_gui.cpp1
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;