static */
| 156 | } |
| 157 | |
| 158 | /* static */ bool ScriptOrder::IsRefitOrder(VehicleID vehicle_id, OrderPosition order_position) |
| 159 | { |
| 160 | if (!IsValidVehicleOrder(vehicle_id, order_position)) return false; |
| 161 | |
| 162 | const Order *order = ::ResolveOrder(vehicle_id, order_position); |
| 163 | return order != nullptr && order->IsRefit(); |
| 164 | } |
| 165 | |
| 166 | /* static */ bool ScriptOrder::IsCurrentOrderPartOfOrderList(VehicleID vehicle_id) |
| 167 | { |
nothing calls this directly
no test coverage detected