--- a/train_cmd.c Thu Dec 09 18:18:21 2004 +0000
+++ b/train_cmd.c Thu Dec 09 21:46:56 2004 +0000
@@ -1288,6 +1288,7 @@
return true;
}
+ VehicleServiceInDepot(v);
TrainPlayLeaveStationSound(v);
v->u.rail.track = 1;
@@ -2554,9 +2555,8 @@
if (v->subtype != 0)
v = GetFirstVehicleInChain(v);
- v->date_of_last_service = _date;
- v->breakdowns_since_last_service = 0;
- v->reliability = _engines[v->engine_type].reliability;
+ VehicleServiceInDepot(v);
+
InvalidateWindow(WC_VEHICLE_DETAILS, v->index);
v->load_unload_time_rem = 0;