1
0
Fork 0

(svn r17045) -Fix (r16867) [FS#3084]: Also 'p's can be important.

release/1.0
frosch 2009-08-02 19:04:48 +00:00
parent 38600459a5
commit 20520baffb
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ void DrawTrainDetails(const Train *v, int left, int right, int y, int vscroll_po
Point offset;
int width = u->GetDisplayImageWidth(&offset);
SpriteID pal = (u->vehstatus & VS_CRASHED) ? PALETTE_CRASH : GetVehiclePalette(u);
DrawSprite(u->GetImage(DIR_W), pal, x + offset.x, y + 6 + offset.y);
DrawSprite(u->GetImage(DIR_W), pal, px + offset.x, y + 6 + offset.y);
px += width;
u = u->Next();
} while (u != NULL && u->IsArticulatedPart() && u->cargo_cap == 0);