static */
| 214 | } |
| 215 | |
| 216 | /* static */ bool ScriptVehicle::IsInDepot(VehicleID vehicle_id) |
| 217 | { |
| 218 | if (!IsValidVehicle(vehicle_id)) return false; |
| 219 | return ::Vehicle::Get(vehicle_id)->IsChainInDepot(); |
| 220 | } |
| 221 | |
| 222 | /* static */ bool ScriptVehicle::IsStoppedInDepot(VehicleID vehicle_id) |
| 223 | { |
nothing calls this directly
no test coverage detected