src/ai/api/ai_vehicle.hpp
branchnoai
changeset 9562 2f4087d63527
parent 9559 8fad57b884a7
child 9563 2c0a7ea15d4c
--- a/src/ai/api/ai_vehicle.hpp	Tue Mar 27 10:33:42 2007 +0000
+++ b/src/ai/api/ai_vehicle.hpp	Tue Mar 27 11:55:16 2007 +0000
@@ -54,7 +54,8 @@
 	 *   is owned by you.
 	 * @pre IsValidEngine(engine_id).
 	 * @return the VehicleID of the new vehicle, or an invalid VehicleID when
-	 *   it failed. Check the return value using IsValidVehicle.
+	 *   it failed. Check the return value using IsValidVehicle. In test-mode
+	 *   0 is returned if it was successful; any other value indicates failure.
 	 */
 	VehicleID BuildVehicle(TileIndex depot, EngineID engine_id);
 
@@ -66,7 +67,8 @@
 	 * @pre the tile at depot has a depot.
 	 * @pre IsValidVehicle(vehicle_id).
 	 * @return the VehicleID of the new vehicle, or an invalid VehicleID when
-	 *   it failed. Check the return value using IsValidVehicle.
+	 *   it failed. Check the return value using IsValidVehicle. In test-mode
+	 *   0 is returned if it was successful; any other value indicates failure.
 	 */
 	VehicleID CloneVehicle(TileIndex depot, VehicleID vehicle_id, bool share_orders);