Mercurial > hg > openttd
changeset 12019:985b63dd75b4 draft
(svn r16426) -Fix [FS#2921] (r16390): articulated parts got the wrong image assigned
author | rubidium <rubidium@openttd.org> |
---|---|
date | Tue, 26 May 2009 08:51:33 +0000 |
parents | 06b1b5dce847 |
children | e9a4f34044d8 |
files | src/articulated_vehicles.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/articulated_vehicles.cpp +++ b/src/articulated_vehicles.cpp @@ -341,7 +341,7 @@ 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