* Make this depot/station order also a refit order. * @param cargo the cargo type to change to. * @pre IsType(OT_GOTO_DEPOT) || IsType(OT_GOTO_STATION). */
| 146 | * @pre IsType(OT_GOTO_DEPOT) || IsType(OT_GOTO_STATION). |
| 147 | */ |
| 148 | void Order::SetRefit(CargoType cargo) |
| 149 | { |
| 150 | this->refit_cargo = cargo; |
| 151 | } |
| 152 | |
| 153 | /** |
| 154 | * Does this order have the same type, flags and destination? |
no outgoing calls
no test coverage detected