From 22637f139fa73dc526982fdbe3ba79d8bfef438a Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 4 Mar 2012 16:54:12 +0000 Subject: (svn r24008) -Cleanup/doc: try not to mention (No)AI in script APIs --- src/script/api/script_order.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/script/api/script_order.hpp') diff --git a/src/script/api/script_order.hpp b/src/script/api/script_order.hpp index 4a87c3748..63607fb2c 100644 --- a/src/script/api/script_order.hpp +++ b/src/script/api/script_order.hpp @@ -123,7 +123,7 @@ public: * Index in the list of orders for a vehicle. The first order has index 0, the second * order index 1, etc. The current order can be queried by using ORDER_CURRENT. Do not * use ORDER_INVALID yourself, it's used as return value by for example ResolveOrderPosition. - * @note Automatic orders are hidden from AIs, so OrderPosition 0 will always be the first + * @note Automatic orders are hidden from scripts, so OrderPosition 0 will always be the first * manual order. */ enum OrderPosition { @@ -510,7 +510,7 @@ public: * @param order_flags The new flags given to the order. * @pre IsValidVehicleOrder(vehicle_id, order_position). * @pre AreOrderFlagsValid(GetOrderDestination(vehicle_id, order_position), order_flags). - * @pre (order_flags & AIOF_GOTO_NEAREST_DEPOT) == (GetOrderFlags(vehicle_id, order_position) & AIOF_GOTO_NEAREST_DEPOT). + * @pre (order_flags & OF_GOTO_NEAREST_DEPOT) == (GetOrderFlags(vehicle_id, order_position) & OF_GOTO_NEAREST_DEPOT). * @exception ScriptError::ERR_OWNED_BY_ANOTHER_COMPANY * @return True if and only if the order was changed. * @api -game -- cgit v1.2.3-54-g00ecf