static */
| 220 | } |
| 221 | |
| 222 | /* static */ bool ScriptVehicle::IsStoppedInDepot(VehicleID vehicle_id) |
| 223 | { |
| 224 | if (!IsValidVehicle(vehicle_id)) return false; |
| 225 | return ::Vehicle::Get(vehicle_id)->IsStoppedInDepot(); |
| 226 | } |
| 227 | |
| 228 | /* static */ bool ScriptVehicle::StartStopVehicle(VehicleID vehicle_id) |
| 229 | { |