Mercurial > hg > openttd
changeset 12602:fdc434cbd704 draft
(svn r17045) -Fix (r16867) [FS#3084]: Also 'p's can be important.
author | frosch <frosch@openttd.org> |
---|---|
date | Sun, 02 Aug 2009 19:04:48 +0000 |
parents | 3f60023ebafd |
children | eac3ce26eb4e |
files | src/train_gui.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/train_gui.cpp +++ b/src/train_gui.cpp @@ -234,7 +234,7 @@ 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);