(svn r18145) -Codechange: pass the 'proper' left and right values to DrawVehicleInDepot

This commit is contained in:
rubidium
2009-11-17 16:03:51 +00:00
parent ddffeb791e
commit 9e84075db5
2 changed files with 20 additions and 14 deletions

View File

@@ -147,6 +147,7 @@ void DrawRoadVehImage(const Vehicle *v, int left, int right, int y, VehicleID se
DrawSprite(u->GetImage(dir), pal, pos + (rtl ? -offset.x : offset.x), y + 6 + offset.y);
pos += rtl ? -width : width;
spent_width += max_width;
}
if (v->index == selection) {