Changeset - r12592:01637fa5f463
[Not reviewed]
master
0 1 0
frosch - 15 years ago 2009-08-02 19:04:48
frosch@openttd.org
(svn r17045) -Fix (r16867) [FS#3084]: Also 'p's can be important.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/train_gui.cpp
Show inline comments
 
@@ -234,7 +234,7 @@ void DrawTrainDetails(const Train *v, in
 
					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);
0 comments (0 inline, 0 general)