mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 22:28:56 +00:00
(svn r1819) -Codechange: removed 1 unused function, and 1 unused struct (tnx to Tron)
This commit is contained in:
parent
020c1e9b6c
commit
ccf3c71903
14
order_gui.c
14
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;
|
||||
|
Loading…
Reference in New Issue
Block a user