summaryrefslogtreecommitdiff
path: root/src/articulated_vehicles.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2016-05-22 11:45:03 +0000
committerfrosch <frosch@openttd.org>2016-05-22 11:45:03 +0000
commitd188d02384387d9cb1e293abc6bc616c72de6850 (patch)
treed618120b1207137d3a0ba0b6f521c128142cb4e8 /src/articulated_vehicles.cpp
parentcade383f9b0eaf17bf6c3e05a3470c4f53039d0d (diff)
downloadopenttd-d188d02384387d9cb1e293abc6bc616c72de6850.tar.xz
(svn r27580) -Fix [FS#6395]: Set date of last service on construction also for wagons and articulated parts.
Diffstat (limited to 'src/articulated_vehicles.cpp')
-rw-r--r--src/articulated_vehicles.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/articulated_vehicles.cpp b/src/articulated_vehicles.cpp
index 193c5ac4a..8c372e7ea 100644
--- a/src/articulated_vehicles.cpp
+++ b/src/articulated_vehicles.cpp
@@ -433,6 +433,7 @@ void AddArticulatedParts(Vehicle *first)
v->x_pos = first->x_pos;
v->y_pos = first->y_pos;
v->z_pos = first->z_pos;
+ v->date_of_last_service = first->date_of_last_service;
v->build_year = first->build_year;
v->vehstatus = first->vehstatus & ~VS_STOPPED;