diff options
author | rubidium <rubidium@openttd.org> | 2009-05-22 22:55:41 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-05-22 22:55:41 +0000 |
commit | da5661a0c8870c532c393ec3d330c3fbb44eb8ac (patch) | |
tree | 93b9332d7e83e012a46777e2baf91bf323ea9fe9 /src/articulated_vehicles.cpp | |
parent | c4b627af422075ce4a0e1026c52f871dd3f146c0 (diff) | |
download | openttd-da5661a0c8870c532c393ec3d330c3fbb44eb8ac.tar.xz |
(svn r16393) -Codechange: move VehicleRail to Train.
Diffstat (limited to 'src/articulated_vehicles.cpp')
-rw-r--r-- | src/articulated_vehicles.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/articulated_vehicles.cpp b/src/articulated_vehicles.cpp index 233d3c9a7..29a7210f4 100644 --- a/src/articulated_vehicles.cpp +++ b/src/articulated_vehicles.cpp @@ -314,7 +314,7 @@ void AddArticulatedParts(Vehicle *first, VehicleType type) previous->SetNext(t); t->track = front->track; t->railtype = front->railtype; - t->u.rail.first_engine = front->engine_type; + t->tcache.first_engine = front->engine_type; t->spritenum = e_artic->u.rail.image_index; if (e_artic->CanCarryCargo()) { |