diff -r d1ab0da686d1 -r 776c7cc8bda5 src/ai/api/ai_vehicle.hpp --- a/src/ai/api/ai_vehicle.hpp Thu Jun 19 16:33:24 2008 +0000 +++ b/src/ai/api/ai_vehicle.hpp Thu Jun 19 18:09:29 2008 +0000 @@ -8,6 +8,7 @@ #include "ai_object.hpp" #include "ai_error.hpp" #include "ai_road.hpp" +#include "ai_order.hpp" /** * Class that handles all vehicle related functions. @@ -327,11 +328,11 @@ /** * Skips the current order of the given vehicle. * @param vehicle_id The vehicle to skip the order for. - * @param order_id The selected order to which we want to skip. - * @pre IsValidVehicleOrder(vehicle_id, order_id). + * @param order_position The selected order to which we want to skip. + * @pre IsValidVehicleOrder(vehicle_id, order_position). * @return True if and only if the order has been skipped. */ - static bool SkipToVehicleOrder(VehicleID vehicle_id, uint32 order_id); + static bool SkipToVehicleOrder(VehicleID vehicle_id, AIOrder::OrderPosition order_position); /** * Get the maximum amount of a specific cargo the given vehicle can transport.