summaryrefslogtreecommitdiff
path: root/train.h
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-09-27 15:40:55 +0000
committerbjarni <bjarni@openttd.org>2006-09-27 15:40:55 +0000
commitfcc39c454af988d11caf032fcc7daa659fabb753 (patch)
tree9ddb344d69511b78f91340dbf576a2d01a61517c /train.h
parent9c3e5266312193a6e023143ec35144baa598283e (diff)
downloadopenttd-fcc39c454af988d11caf032fcc7daa659fabb753.tar.xz
(svn r6529) -Fix r6513: [depot window] added missing switch in CcCloneVehicle()
The result of this missing switch was asserts in some cloning conditions (not all) (spotted by KUDr)
Diffstat (limited to 'train.h')
-rw-r--r--train.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/train.h b/train.h
index 485e80b6f..5dcf2d4f3 100644
--- a/train.h
+++ b/train.h
@@ -219,5 +219,6 @@ void ConvertOldMultiheadToNew(void);
void ConnectMultiheadedTrains(void);
int CheckTrainInDepot(const Vehicle *v, bool needs_to_be_stopped);
+void CcCloneTrain(bool success, TileIndex tile, uint32 p1, uint32 p2);
#endif /* TRAIN_H */