summaryrefslogtreecommitdiff
path: root/roadveh.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
commitc07324c8782816ebb71ef61b543e32dd491d6603 (patch)
tree9ddb344d69511b78f91340dbf576a2d01a61517c /roadveh.h
parentd67f0cf3ec31baac73e22ea78bfa611fde3b78f7 (diff)
downloadopenttd-c07324c8782816ebb71ef61b543e32dd491d6603.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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/roadveh.h b/roadveh.h
index 9d5800e6d..a30d6d536 100644
--- a/roadveh.h
+++ b/roadveh.h
@@ -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);