diff --git a/order_gui.c b/order_gui.c index a80c34257e..258f8b5908 100644 --- a/order_gui.c +++ b/order_gui.c @@ -191,6 +191,8 @@ static Order GetOrderCmdFromTile(const Vehicle *v, TileIndex tile) Order order; int st_index; + order.station = INVALID_STATION; + // check depot first if (_patches.gotodepot) { switch (GetTileType(tile)) {