(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)
This commit is contained in:
bjarni
2006-09-27 15:40:55 +00:00
parent d67f0cf3ec
commit c07324c878
4 changed files with 12 additions and 1 deletions

View File

@@ -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 */