summaryrefslogtreecommitdiff
path: root/src/articulated_vehicles.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-05-22 22:55:41 +0000
committerrubidium <rubidium@openttd.org>2009-05-22 22:55:41 +0000
commitda5661a0c8870c532c393ec3d330c3fbb44eb8ac (patch)
tree93b9332d7e83e012a46777e2baf91bf323ea9fe9 /src/articulated_vehicles.cpp
parentc4b627af422075ce4a0e1026c52f871dd3f146c0 (diff)
downloadopenttd-da5661a0c8870c532c393ec3d330c3fbb44eb8ac.tar.xz
(svn r16393) -Codechange: move VehicleRail to Train.
Diffstat (limited to 'src/articulated_vehicles.cpp')
-rw-r--r--src/articulated_vehicles.cpp2
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()) {