(svn r1819) -Codechange: removed 1 unused function, and 1 unused struct (tnx to Tron)
--- a/order_gui.c Sun Feb 06 10:24:57 2005 +0000
+++ b/order_gui.c Sun Feb 06 10:39:18 2005 +0000
@@ -153,20 +153,6 @@
}
}
-
-// 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;