diff options
author | bjarni <bjarni@openttd.org> | 2006-09-27 15:40:55 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2006-09-27 15:40:55 +0000 |
commit | fcc39c454af988d11caf032fcc7daa659fabb753 (patch) | |
tree | 9ddb344d69511b78f91340dbf576a2d01a61517c /roadveh.h | |
parent | 9c3e5266312193a6e023143ec35144baa598283e (diff) | |
download | openttd-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 'roadveh.h')
-rw-r--r-- | roadveh.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -13,3 +13,5 @@ static inline bool IsRoadVehInDepotStopped(const Vehicle* v) { return IsRoadVehInDepot(v) && v->vehstatus & VS_STOPPED; } + +void CcCloneRoadVeh(bool success, TileIndex tile, uint32 p1, uint32 p2); |