(svn r17185) -Codechange: Tweak depot gui and vehicle lists, so text overlaps less with vehicle images.

This commit is contained in:
frosch
2009-08-15 11:47:11 +00:00
parent 1f3f53f421
commit 2ad4bf74a1
5 changed files with 18 additions and 19 deletions

View File

@@ -70,7 +70,7 @@ void DrawTrainImage(const Train *v, int x, int y, VehicleID selection, int max_w
int highlight_l = 0;
int highlight_r = 0;
if (!FillDrawPixelInfo(&tmp_dpi, x - 2, y - 1, max_width + 1, 14)) return;
if (!FillDrawPixelInfo(&tmp_dpi, x, y, max_width, 14)) return;
old_dpi = _cur_dpi;
_cur_dpi = &tmp_dpi;