From 59d45a04d606cf7eeffed150f09497dfc56d1014 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 21 Apr 2009 23:40:56 +0000 Subject: (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. --- src/train_gui.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/train_gui.cpp') diff --git a/src/train_gui.cpp b/src/train_gui.cpp index 92cce8f23..a99a49c10 100644 --- a/src/train_gui.cpp +++ b/src/train_gui.cpp @@ -121,14 +121,14 @@ void DrawTrainImage(const Vehicle *v, int x, int y, VehicleID selection, int cou static void TrainDetailsCargoTab(const Vehicle *v, int left, int right, int y) { if (v->cargo_cap != 0) { - StringID str = STR_8812_EMPTY; + StringID str = STR_VEHICLE_DETAILS_CARGO_EMPTY; if (!v->cargo.Empty()) { SetDParam(0, v->cargo_type); SetDParam(1, v->cargo.Count()); SetDParam(2, v->cargo.Source()); SetDParam(3, _settings_game.vehicle.freight_trains); - str = FreightWagonMult(v->cargo_type) > 1 ? STR_FROM_MULT : STR_8813_FROM; + str = FreightWagonMult(v->cargo_type) > 1 ? STR_VEHICLE_DETAILS_CARGO_FROM_MULT : STR_VEHICLE_DETAILS_CARGO_FROM; } DrawString(left, right, y, str, TC_FROMSTRING); } @@ -147,12 +147,12 @@ static void TrainDetailsInfoTab(const Vehicle *v, int left, int right, int y) if (RailVehInfo(v->engine_type)->railveh_type == RAILVEH_WAGON) { SetDParam(0, v->engine_type); SetDParam(1, v->value); - DrawString(left, right, y, STR_882D_VALUE, TC_BLACK); + DrawString(left, right, y, STR_VEHICLE_DETAILS_TRAIN_WAGON_VALUE, TC_BLACK); } else { SetDParam(0, v->engine_type); SetDParam(1, v->build_year); SetDParam(2, v->value); - DrawString(left, right, y, STR_882C_BUILT_VALUE, TC_BLACK); + DrawString(left, right, y, STR_VEHICLE_DETAILS_TRAIN_ENGINE_BUILT_AND_VALUE, TC_BLACK); } } -- cgit v1.2.3-54-g00ecf