1
0
Fork 0

(svn r16426) -Fix [FS#2921] (r16390): articulated parts got the wrong image assigned

release/1.0
rubidium 2009-05-26 08:51:33 +00:00
parent 7425bf779d
commit 462c1ec4f3
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ void AddArticulatedParts(Vehicle *first, VehicleType type)
rv->roadtype = front->roadtype; rv->roadtype = front->roadtype;
rv->compatible_roadtypes = front->compatible_roadtypes; rv->compatible_roadtypes = front->compatible_roadtypes;
rv->spritenum = e_artic->image_index; rv->spritenum = e_artic->u.road.image_index;
if (e_artic->CanCarryCargo()) { if (e_artic->CanCarryCargo()) {
rv->cargo_type = e_artic->GetDefaultCargoType(); rv->cargo_type = e_artic->GetDefaultCargoType();
rv->cargo_cap = e_artic->u.road.capacity; // Callback 36 is called when the consist is finished rv->cargo_cap = e_artic->u.road.capacity; // Callback 36 is called when the consist is finished