We discuss codes for protecting logical qubits carried by optical fields from the effects of amplitude damping, i.e. linear photon loss. We demonstrate that the correctability condition for one-photon loss imposes limitations on the range of manipulations than can be implemented with passive linear-optics networks.