diff options
author | frosch <frosch@openttd.org> | 2009-08-15 11:47:11 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-08-15 11:47:11 +0000 |
commit | 2ad4bf74a1a0c78138efd450582e91423c282440 (patch) | |
tree | 464a371866dbf971235443fce776f2f06b396555 /src/depot_gui.cpp | |
parent | 1f3f53f42171c43726873991bce9bbb3c2e88097 (diff) | |
download | openttd-2ad4bf74a1a0c78138efd450582e91423c282440.tar.xz |
(svn r17185) -Codechange: Tweak depot gui and vehicle lists, so text overlaps less with vehicle images.
Diffstat (limited to 'src/depot_gui.cpp')
-rw-r--r-- | src/depot_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp index 82e12e2e3..f689107ee 100644 --- a/src/depot_gui.cpp +++ b/src/depot_gui.cpp @@ -271,7 +271,7 @@ struct DepotWindow : Window { free_wagon = u->IsFreeWagon(); uint x_space = free_wagon ? TRAININFO_DEFAULT_VEHICLE_WIDTH : 0; - DrawTrainImage(u, x + 21 + x_space, sprite_y, this->sel, this->hscroll.cap + 4 - x_space, this->hscroll.pos); + DrawTrainImage(u, x + 24 + x_space, sprite_y - 1, this->sel, this->hscroll.cap - x_space, this->hscroll.pos); /* Number of wagons relative to a standard length wagon (rounded up) */ SetDParam(0, (u->tcache.cached_total_length + 7) / 8); |