static */
| 459 | } |
| 460 | |
| 461 | /* static */ bool ScriptVehicle::HasSharedOrders(VehicleID vehicle_id) |
| 462 | { |
| 463 | if (!IsPrimaryVehicle(vehicle_id)) return false; |
| 464 | |
| 465 | const Vehicle *v = ::Vehicle::Get(vehicle_id); |
| 466 | return v->orders != nullptr && v->orders->GetNumVehicles() > 1; |
| 467 | } |
| 468 | |
| 469 | /* static */ SQInteger ScriptVehicle::GetReliability(VehicleID vehicle_id) |
| 470 | { |
nothing calls this directly
no test coverage detected