summaryrefslogtreecommitdiff
path: root/order_gui.c
diff options
context:
space:
mode:
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;