| OpenTTD
    | 
Action for returning reserved cargo. More...
| Public Member Functions | |
| ReturnCargoAction (Station *st, StationID next_one) | |
| Construct a cargo return action. | |
| bool | operator() (Vehicle *v) | 
| Return all reserved cargo from a vehicle. | |
| Data Fields | |
| Station * | st | 
| Station to give the returned cargo to. | |
| StationID | next_hop | 
| Next hop the cargo should be assigned to. | |
Action for returning reserved cargo.
Definition at line 1397 of file economy.cpp.
| 
 | inline | 
Construct a cargo return action.
| st | Station to give the returned cargo to. | 
| next_one | Next hop the cargo should be assigned to. | 
Definition at line 1407 of file economy.cpp.
| 
 | inline | 
Return all reserved cargo from a vehicle.
| v | Vehicle to return cargo from. | 
Definition at line 1414 of file economy.cpp.
References GoodsEntry::cargo, Vehicle::cargo, Vehicle::cargo_type, Station::goods, VehicleCargoList::Return(), and st.
 1.8.1.2
 1.8.1.2