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
commit5f4b8ef23227e746b5c48be9d35b60eb2dd63b85 (patch)
tree396a63f73f07afadbaef1182813e0e7cfdc779ad /order_gui.c
parent79d1ed2c66a8b5179d5c1ac013c37a64a05f5ec5 (diff)
downloadopenttd-5f4b8ef23227e746b5c48be9d35b60eb2dd63b85.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;