| 3808 | } |
| 3809 | |
| 3810 | Cargo::Cargo(GameState &state, StateRef<AEquipmentType> equipment, int count, int price, |
| 3811 | StateRef<Organisation> originalOwner, StateRef<Building> destination) |
| 3812 | : Cargo(state, equipment->bioStorage ? Type::Bio : Type::Agent, equipment.id, count, |
| 3813 | equipment->type == AEquipmentType::Type::Ammo ? equipment->max_ammo : 1, |
| 3814 | equipment->store_space, price, originalOwner, destination) |
| 3815 | { |
| 3816 | } |
| 3817 | |
| 3818 | Cargo::Cargo(GameState &state, StateRef<VEquipmentType> equipment, int count, int price, |
| 3819 | StateRef<Organisation> originalOwner, StateRef<Building> destination) |