diff options
author | rubidium <rubidium@openttd.org> | 2009-04-26 15:26:19 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-04-26 15:26:19 +0000 |
commit | 7dd677ced22abb688b2ed69f99faed211f3554b1 (patch) | |
tree | df4ab2d279bb9ba905f4c04a0e80fa48cbeaa15c /src/train_gui.cpp | |
parent | 3301afa5c3b2fe2bf24ef7ab9333df8a88334fb9 (diff) | |
download | openttd-7dd677ced22abb688b2ed69f99faed211f3554b1.tar.xz |
(svn r16162) -Codechange: remove needless TC_ colours from DrawString when they are part of strings and add some colours to a few strings.
Diffstat (limited to 'src/train_gui.cpp')
-rw-r--r-- | src/train_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/train_gui.cpp b/src/train_gui.cpp index 717bee165..898182a8e 100644 --- a/src/train_gui.cpp +++ b/src/train_gui.cpp @@ -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_VEHICLE_DETAILS_TRAIN_WAGON_VALUE, TC_BLACK); + DrawString(left, right, y, STR_VEHICLE_DETAILS_TRAIN_WAGON_VALUE); } else { SetDParam(0, v->engine_type); SetDParam(1, v->build_year); SetDParam(2, v->value); - DrawString(left, right, y, STR_VEHICLE_DETAILS_TRAIN_ENGINE_BUILT_AND_VALUE, TC_BLACK); + DrawString(left, right, y, STR_VEHICLE_DETAILS_TRAIN_ENGINE_BUILT_AND_VALUE); } } |