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
commitb1c4b0f07da9585026460d681786eff7d12df57b (patch)
tree1f738e2f92db00ec961c934644d0f5c4badf9f66 /vehicle.h
parent31d6f87d80bb42c1fbb8841071937e6d86fe9e86 (diff)
downloadopenttd-b1c4b0f07da9585026460d681786eff7d12df57b.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);