mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-30 15:58:12 +01:00
(svn r17045) -Fix (r16867) [FS#3084]: Also 'p's can be important.
This commit is contained in:
parent
38600459a5
commit
20520baffb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user