Changeset - r12014:63829fb1bd5f
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-05-26 08:51:33
rubidium@openttd.org
(svn r16426) -Fix [FS#2921] (r16390): articulated parts got the wrong image assigned
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/articulated_vehicles.cpp
Show inline comments
 
@@ -341,7 +341,7 @@ void AddArticulatedParts(Vehicle *first,
 
				rv->roadtype = front->roadtype;
 
				rv->compatible_roadtypes = front->compatible_roadtypes;
 

	
 
				rv->spritenum = e_artic->image_index;
 
				rv->spritenum = e_artic->u.road.image_index;
 
				if (e_artic->CanCarryCargo()) {
 
					rv->cargo_type = e_artic->GetDefaultCargoType();
 
					rv->cargo_cap = e_artic->u.road.capacity;  // Callback 36 is called when the consist is finished
0 comments (0 inline, 0 general)