summaryrefslogtreecommitdiff
path: root/src/ship_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-04-20 21:29:41 +0000
committerrubidium <rubidium@openttd.org>2009-04-20 21:29:41 +0000
commit9a56844b67199ad985b732e3e4e9cb8c471a8887 (patch)
treebe6b4cf713efe3cdeda073deacd61e03dc8ddffb /src/ship_gui.cpp
parentf0a4bbda6dc57dda738402ea9560126f6b940dff (diff)
downloadopenttd-9a56844b67199ad985b732e3e4e9cb8c471a8887.tar.xz
(svn r16102) -Codechange: unify the vehicle info strings; reduce the number of duplicate strings and unifies the GUIs quite a bit
Diffstat (limited to 'src/ship_gui.cpp')
-rw-r--r--src/ship_gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ship_gui.cpp b/src/ship_gui.cpp
index 63fa751c7..64bbb6fa9 100644
--- a/src/ship_gui.cpp
+++ b/src/ship_gui.cpp
@@ -47,12 +47,12 @@ void DrawShipDetails(const Vehicle *v, int left, int right, int y)
SetDParam(0, v->engine_type);
SetDParam(1, v->build_year);
SetDParam(2, v->value);
- DrawString(left, right, y, STR_9816_BUILT_VALUE, TC_FROMSTRING);
+ DrawString(left, right, y, STR_VEHICLE_INFO_BUILT_VALUE, TC_FROMSTRING);
SetDParam(0, v->cargo_type);
SetDParam(1, v->cargo_cap);
- SetDParam(2, GetCargoSubtypeText(v));
- DrawString(left, right, y + 10, STR_9817_CAPACITY, TC_FROMSTRING);
+ SetDParam(4, GetCargoSubtypeText(v));
+ DrawString(left, right, y + 10, STR_VEHICLE_INFO_CAPACITY, TC_FROMSTRING);
StringID str = STR_8812_EMPTY;
if (!v->cargo.Empty()) {