diff options
author | truelight <truelight@openttd.org> | 2005-02-06 10:39:18 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-02-06 10:39:18 +0000 |
commit | ccf3c71903181540290cff78c75c4734f022024c (patch) | |
tree | 396a63f73f07afadbaef1182813e0e7cfdc779ad | |
parent | 020c1e9b6c228ee812ed85ecc02dc52847940821 (diff) | |
download | openttd-ccf3c71903181540290cff78c75c4734f022024c.tar.xz |
(svn r1819) -Codechange: removed 1 unused function, and 1 unused struct (tnx to Tron)
-rw-r--r-- | order_gui.c | 14 |
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; |