summaryrefslogtreecommitdiff
path: root/src/script/api/script_order.hpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2012-03-04 16:54:12 +0000
committerrubidium <rubidium@openttd.org>2012-03-04 16:54:12 +0000
commit22637f139fa73dc526982fdbe3ba79d8bfef438a (patch)
tree0c3a16d254e5992cade4d325bb3876ff4a37b3a3 /src/script/api/script_order.hpp
parente6a828def1b25671b4115903cb81d97c4e2348d6 (diff)
downloadopenttd-22637f139fa73dc526982fdbe3ba79d8bfef438a.tar.xz
(svn r24008) -Cleanup/doc: try not to mention (No)AI in script APIs
Diffstat (limited to 'src/script/api/script_order.hpp')
-rw-r--r--src/script/api/script_order.hpp4
1 files changed, 2 insertions, 2 deletions
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