static */
| 37 | } |
| 38 | |
| 39 | /* static */ bool ScriptVehicle::IsPrimaryVehicle(VehicleID vehicle_id) |
| 40 | { |
| 41 | if (!IsValidVehicle(vehicle_id)) return false; |
| 42 | |
| 43 | return ::Vehicle::Get(vehicle_id)->IsPrimaryVehicle(); |
| 44 | } |
| 45 | |
| 46 | /* static */ ScriptCompany::CompanyID ScriptVehicle::GetOwner(VehicleID vehicle_id) |
| 47 | { |
no outgoing calls
no test coverage detected