(svn r1819) -Codechange: removed 1 unused function, and 1 unused struct (tnx to Tron)
authortruelight
Sun, 06 Feb 2005 10:39:18 +0000
changeset 1315 f0b8f8f44cbe
parent 1314 d6a253cf92c3
child 1316 a7352de83a2b
(svn r1819) -Codechange: removed 1 unused function, and 1 unused struct (tnx to Tron)
order_gui.c
--- 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;