summaryrefslogtreecommitdiff
path: root/order_gui.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-02-06 10:39:18 +0000
committertruelight <truelight@openttd.org>2005-02-06 10:39:18 +0000
commitccf3c71903181540290cff78c75c4734f022024c (patch)
tree396a63f73f07afadbaef1182813e0e7cfdc779ad /order_gui.c
parent020c1e9b6c228ee812ed85ecc02dc52847940821 (diff)
downloadopenttd-ccf3c71903181540290cff78c75c4734f022024c.tar.xz
(svn r1819) -Codechange: removed 1 unused function, and 1 unused struct (tnx to Tron)
Diffstat (limited to 'order_gui.c')
-rw-r--r--order_gui.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/order_gui.c b/order_gui.c
index 298b2ba67..a7dce599d 100644
--- a/order_gui.c
+++ b/order_gui.c
@@ -153,20 +153,6 @@ static void DrawOrdersWindow(Window *w)
}
}
-
-// lookup a vehicle on a tile
-typedef struct {
- TileIndex tile;
- byte owner;
- byte type;
-} FindVehS;
-
-static void *FindVehicleCallb(Vehicle *v, FindVehS *f)
-{
- if (v->tile != f->tile || v->owner != f->owner || v->vehstatus & VS_HIDDEN ) return NULL;
- return v;
-}
-
static Order GetOrderCmdFromTile(Vehicle *v, uint tile)
{
Order order;