summaryrefslogtreecommitdiff
path: root/vehicle.h
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2005-01-18 23:27:06 +0000
committerbjarni <bjarni@openttd.org>2005-01-18 23:27:06 +0000
commit5f549396f48bf0d13739336172fa002d2676e948 (patch)
tree1f738e2f92db00ec961c934644d0f5c4badf9f66 /vehicle.h
parent90cafa9b15c8d4f174b043dfab2bb1bca61b1505 (diff)
downloadopenttd-5f549396f48bf0d13739336172fa002d2676e948.tar.xz
(svn r1561) Fix: autoreplacing a singleheaded engine into a dualheaded engine now adds the the rear engine
autoreplacing a dualheaded engine into a singleheaded engine now sells the rear engine as a sideeffect of this, the price for replacing both engines are now added and displayed once from the depot(instead of two identical numbers written on top of each other, looking like one) fix: cost for autorenew dualheaded engines were doubled and their value where doubled too
Diffstat (limited to 'vehicle.h')
-rw-r--r--vehicle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vehicle.h b/vehicle.h
index 864d382cf..a5803750c 100644
--- a/vehicle.h
+++ b/vehicle.h
@@ -284,6 +284,8 @@ void ViewportAddVehicles(DrawPixelInfo *dpi);
void TrainEnterDepot(Vehicle *v, uint tile);
+void AddRearEngineToMultiheadedTrain(Vehicle *v, Vehicle *u, bool building) ;
+
/* train_cmd.h */
int GetTrainImage(Vehicle *v, byte direction);
int GetAircraftImage(Vehicle *v, byte direction);