diff options
author | rubidium <rubidium@openttd.org> | 2009-04-20 21:29:41 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-04-20 21:29:41 +0000 |
commit | 9a56844b67199ad985b732e3e4e9cb8c471a8887 (patch) | |
tree | be6b4cf713efe3cdeda073deacd61e03dc8ddffb /src/train_gui.cpp | |
parent | f0a4bbda6dc57dda738402ea9560126f6b940dff (diff) | |
download | openttd-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/train_gui.cpp')
-rw-r--r-- | src/train_gui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/train_gui.cpp b/src/train_gui.cpp index e61755fe8..92cce8f23 100644 --- a/src/train_gui.cpp +++ b/src/train_gui.cpp @@ -169,9 +169,9 @@ static void TrainDetailsCapacityTab(const Vehicle *v, int left, int right, int y if (v->cargo_cap != 0) { SetDParam(0, v->cargo_type); SetDParam(1, v->cargo_cap); - SetDParam(2, GetCargoSubtypeText(v)); - SetDParam(3, _settings_game.vehicle.freight_trains); - DrawString(left, right, y, FreightWagonMult(v->cargo_type) > 1 ? STR_CAPACITY_MULT : STR_013F_CAPACITY, TC_FROMSTRING); + SetDParam(4, GetCargoSubtypeText(v)); + SetDParam(5, _settings_game.vehicle.freight_trains); + DrawString(left, right, y, FreightWagonMult(v->cargo_type) > 1 ? STR_VEHICLE_INFO_CAPACITY_MULT : STR_VEHICLE_INFO_CAPACITY, TC_FROMSTRING); } } |