# HG changeset patch # User truelight # Date 1174996565 0 # Node ID 2c0a7ea15d4cc3047a0b099f74fcaa6ec905bc07 # Parent 2f4087d6352767c608df10f6fc943c924a8c6e7d (svn r9501) [NoAI] -Add: document that you can't assign orders to a vehicle build in test-mode diff -r 2f4087d63527 -r 2c0a7ea15d4c src/ai/api/ai_vehicle.hpp --- a/src/ai/api/ai_vehicle.hpp Tue Mar 27 11:55:16 2007 +0000 +++ b/src/ai/api/ai_vehicle.hpp Tue Mar 27 11:56:05 2007 +0000 @@ -56,6 +56,9 @@ * @return the VehicleID of the new vehicle, or an invalid VehicleID when * it failed. Check the return value using IsValidVehicle. In test-mode * 0 is returned if it was successful; any other value indicates failure. + * @note in test-mode it means you can't assign orders yet to this vehicle, + * as the vehicle isn't really built yet. Build it for real first before + * assigning orders. */ VehicleID BuildVehicle(TileIndex depot, EngineID engine_id);