summaryrefslogtreecommitdiff
path: root/order_gui.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-02-06 10:24:57 +0000
committertruelight <truelight@openttd.org>2005-02-06 10:24:57 +0000
commit020c1e9b6c228ee812ed85ecc02dc52847940821 (patch)
tree6c6585bdaca582be23e16326cdd45058a6e3a17f /order_gui.c
parente9c93f9c0ca76117ac1315b6aff03f1f138f62e4 (diff)
downloadopenttd-020c1e9b6c228ee812ed85ecc02dc52847940821.tar.xz
(svn r1818) -Add: Dynamic orders (up to 64k orders)
Diffstat (limited to 'order_gui.c')
-rw-r--r--order_gui.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/order_gui.c b/order_gui.c
index 7cbd0089c..298b2ba67 100644
--- a/order_gui.c
+++ b/order_gui.c
@@ -167,15 +167,6 @@ static void *FindVehicleCallb(Vehicle *v, FindVehS *f)
return v;
}
-static Vehicle *GetVehicleOnTile(TileIndex tile, byte owner)
-{
- FindVehS fs;
- fs.tile = tile;
- fs.owner = owner;
- fs.type = 0;
- return VehicleFromPos(tile, &fs, (VehicleFromPosProc*)FindVehicleCallb);
-}
-
static Order GetOrderCmdFromTile(Vehicle *v, uint tile)
{
Order order;