equal
deleted
inserted
replaced
114 |
114 |
115 bool AIVehicle::SkipVehicleOrder(VehicleID vehicle_id) |
115 bool AIVehicle::SkipVehicleOrder(VehicleID vehicle_id) |
116 { |
116 { |
117 if (!this->IsValidVehicle(vehicle_id)) return false; |
117 if (!this->IsValidVehicle(vehicle_id)) return false; |
118 |
118 |
119 return this->DoCommand(0, vehicle_id, 0, CMD_SKIP_ORDER); |
119 return this->DoCommand(0, vehicle_id, 0, CMD_SKIP_TO_ORDER); |
120 } |
120 } |
121 |
121 |
122 TileIndex AIVehicle::GetLocation(VehicleID vehicle_id) |
122 TileIndex AIVehicle::GetLocation(VehicleID vehicle_id) |
123 { |
123 { |
124 if (!AIVehicle::IsValidVehicle(vehicle_id)) return INVALID_TILE; |
124 if (!AIVehicle::IsValidVehicle(vehicle_id)) return INVALID_TILE; |