src/ai/api/ai_vehicle.hpp
branchnoai
changeset 9706 8d8f719a4e69
parent 9699 e1b5f29cc6f9
child 9709 196a08fbfeb6
--- a/src/ai/api/ai_vehicle.hpp	Sun Oct 07 00:40:14 2007 +0000
+++ b/src/ai/api/ai_vehicle.hpp	Fri Oct 12 22:04:41 2007 +0000
@@ -157,10 +157,11 @@
 	/**
 	 * Skips the current order of the given vehicle.
 	 * @param vehicle_id the vehicle to skip the order for.
-	 * @pre IsValidVehicle(vehicle_id).
+	 * @param order_id the selected order to which we want to skip.
+	 * @pre IsValidVehicleOrder(vehicle_id, order_id).
 	 * @return true if and only if the order has been skipped.
 	 */
-	bool SkipVehicleOrder(VehicleID vehicle_id);
+	bool SkipToVehicleOrder(VehicleID vehicle_id, uint32 order_id);
 
 	/**
 	 * Set the name of a vehicle.